diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:49:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:49:08 +0300 |
commit | 5c3746562bafd61603c67958fc82ff097a69e3a4 (patch) | |
tree | c36e46dd4df2bc7388e7e82b6e6ae8294c4ecd02 /src/client.cpp | |
parent | 60b386b1a97a052cea867dd3a4f7a9c52394b312 (diff) | |
download | plus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.gz plus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.bz2 plus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.xz plus-5c3746562bafd61603c67958fc82ff097a69e3a4.zip |
Add missing const and static into other classes.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client.cpp b/src/client.cpp index 4d301ccfe..77a7f213e 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2106,7 +2106,7 @@ void Client::initServerConfig(std::string serverName) dropShortcut = new DropShortcut; } -void Client::initFeatures() const +void Client::initFeatures() { features.init(paths.getStringValue("featuresFile"), true); features.setDefaultValues(getFeaturesDefaults()); @@ -2337,7 +2337,7 @@ void Client::initScreenshotDir() logger->log("screenshotDirectory: " + mScreenshotDir); } -void Client::accountLogin(LoginData *const data) const +void Client::accountLogin(LoginData *const data) { if (!data) return; @@ -2758,7 +2758,7 @@ bool Client::limitPackets(const int type) return true; } -void Client::setFramerate(const int fpsLimit) +void Client::setFramerate(const int fpsLimit) const { if (!fpsLimit) return; @@ -3012,7 +3012,7 @@ void Client::setIcon() #else iconFile.append(".png"); #endif - iconFile = ResourceManager::getInstance()->getPath(iconFile); + iconFile = ResourceManager::getPath(iconFile); logger->log("Loading icon from file: %s", iconFile.c_str()); #ifdef WIN32 |