summaryrefslogtreecommitdiff
path: root/src/listeners
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:21:10 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:21:10 +0300
commit7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5 (patch)
tree8b74b950fd50627b9477d97053a4ade9fd9aa7fd /src/listeners
parent21069ec1635bd24ab33805e033d28f2c0b2de482 (diff)
downloadplus-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.gz
plus-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.bz2
plus-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.xz
plus-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.zip
Add missing const in other left files.
Diffstat (limited to 'src/listeners')
-rw-r--r--src/listeners/renamelistener.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/listeners/renamelistener.cpp b/src/listeners/renamelistener.cpp
index 1166868cf..0f5cc9413 100644
--- a/src/listeners/renamelistener.cpp
+++ b/src/listeners/renamelistener.cpp
@@ -57,11 +57,11 @@ void RenameListener::action(const ActionEvent &event)
{
if (event.getId() == "ok" && viewport && mDialog)
{
- Map *const map = viewport->getMap();
+ const Map *const map = viewport->getMap();
if (!map)
return;
- SpecialLayer *const sl = map->getSpecialLayer();
+ const SpecialLayer *const sl = map->getSpecialLayer();
MapItem *item = nullptr;
if (sl)
{