Skip to content
Snippets Groups Projects
Unverified Commit 750195bc authored by Andrei Karas's avatar Andrei Karas
Browse files

Remove support for legacy configuration in ShortcutBase.

parent bc19569a
No related branches found
Tags s20160911
No related merge requests found
......@@ -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++)
{
......
......@@ -54,7 +54,7 @@ class ShortcutBase notfinal
/**
* Load the configuration information.
*/
void load(const bool oldConfig = false);
void load();
/**
* Save the configuration information.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment