summaryrefslogtreecommitdiff
path: root/src/gui/windows/updaterwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-16 20:24:01 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-16 20:24:01 +0300
commit79114bbfe4bddf95345c33505a750f3aa80f1c56 (patch)
tree39751d014470c8c918d6bdb0d3893a1e7a841fa8 /src/gui/windows/updaterwindow.cpp
parent7f7ac0e998506fb2b19b03ae4f2ef6ef04b87b13 (diff)
downloadplus-79114bbfe4bddf95345c33505a750f3aa80f1c56.tar.gz
plus-79114bbfe4bddf95345c33505a750f3aa80f1c56.tar.bz2
plus-79114bbfe4bddf95345c33505a750f3aa80f1c56.tar.xz
plus-79114bbfe4bddf95345c33505a750f3aa80f1c56.zip
fix compilation warnings.
Diffstat (limited to 'src/gui/windows/updaterwindow.cpp')
-rw-r--r--src/gui/windows/updaterwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp
index 36cdba6dd..f185c1ed5 100644
--- a/src/gui/windows/updaterwindow.cpp
+++ b/src/gui/windows/updaterwindow.cpp
@@ -970,8 +970,8 @@ void UpdaterWindow::loadFile(std::string file)
trim(file);
StringVect lines;
- ResourceManager::getInstance()->loadTextFileLocal(
- mUpdatesDir + "/local/help/news.txt", lines);
+ const ResourceManager *const resman = ResourceManager::getInstance();
+ resman->loadTextFileLocal(mUpdatesDir + "/local/help/news.txt", lines);
for (size_t i = 0, sz = lines.size(); i < sz; ++i)
mBrowserBox->addRow(lines[i]);