summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
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,