summaryrefslogtreecommitdiff
path: root/src/gui/shortcut/shortcutbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/shortcut/shortcutbase.cpp')
-rw-r--r--src/gui/shortcut/shortcutbase.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/shortcut/shortcutbase.cpp b/src/gui/shortcut/shortcutbase.cpp
index 1eb62bc8c..e8c5ea65e 100644
--- a/src/gui/shortcut/shortcutbase.cpp
+++ b/src/gui/shortcut/shortcutbase.cpp
@@ -51,13 +51,9 @@ ShortcutBase::~ShortcutBase()
mItemColors = nullptr;
}
-void ShortcutBase::load(const bool oldConfig)
+void ShortcutBase::load()
{
- const Configuration *cfg;
- if (oldConfig)
- cfg = &config;
- else
- cfg = &serverConfig;
+ const Configuration *cfg = &serverConfig;
for (int i = 0; i < mMaxSize; i++)
{