summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-18 22:39:29 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-18 22:39:29 +0300
commit6419386c4c382753509425826ee609dd07d4ae72 (patch)
treef5f6d54f86a86a21a8145891797a561f5bb8e8d8 /src/gui
parent78744020528ef6231e1606bbe2e8c53011c77935 (diff)
downloadplus-6419386c4c382753509425826ee609dd07d4ae72.tar.gz
plus-6419386c4c382753509425826ee609dd07d4ae72.tar.bz2
plus-6419386c4c382753509425826ee609dd07d4ae72.tar.xz
plus-6419386c4c382753509425826ee609dd07d4ae72.zip
add const to other files.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/buydialog.cpp2
-rw-r--r--src/gui/inventorywindow.cpp2
-rw-r--r--src/gui/widgets/setuptouchitem.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/buydialog.cpp b/src/gui/buydialog.cpp
index c370ecfd3..ce7c32ba2 100644
--- a/src/gui/buydialog.cpp
+++ b/src/gui/buydialog.cpp
@@ -50,7 +50,7 @@
#include "debug.h"
-static const char *SORT_NAME_BUY[7] =
+static const char *const SORT_NAME_BUY[7] =
{
// TRANSLATORS: buy dialog sort type.
N_("unsorted"),
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index 7a1645148..e497f5782 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -63,7 +63,7 @@
#include "debug.h"
-static const char *SORT_NAME_INVENTORY[6] =
+static const char *const SORT_NAME_INVENTORY[6] =
{
// TRANSLATORS: inventory sort mode
N_("default"),
diff --git a/src/gui/widgets/setuptouchitem.cpp b/src/gui/widgets/setuptouchitem.cpp
index d8d6eda9a..b62e1e550 100644
--- a/src/gui/widgets/setuptouchitem.cpp
+++ b/src/gui/widgets/setuptouchitem.cpp
@@ -31,7 +31,7 @@
#include "debug.h"
-static class SortTouchActionFunctor final
+static const class SortTouchActionFunctor final
{
public:
bool operator() (const SetupActionData *const data1,