summaryrefslogtreecommitdiff
path: root/src/utils/paths.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-15 22:23:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-15 22:23:26 +0300
commitf03edb38328aa5ddb48e10198621bf2353096440 (patch)
treea7fe17c3e7ceee0f646663d115273852c632e0dd /src/utils/paths.cpp
parentd0cdad7bf81a07ba4b2f13c73a65fe1c68bb702f (diff)
downloadplus-f03edb38328aa5ddb48e10198621bf2353096440.tar.gz
plus-f03edb38328aa5ddb48e10198621bf2353096440.tar.bz2
plus-f03edb38328aa5ddb48e10198621bf2353096440.tar.xz
plus-f03edb38328aa5ddb48e10198621bf2353096440.zip
in updater window cut news to 50 lines and show link to full news.
Diffstat (limited to 'src/utils/paths.cpp')
-rw-r--r--src/utils/paths.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/paths.cpp b/src/utils/paths.cpp
index e1a4ee03c..e02fcc23c 100644
--- a/src/utils/paths.cpp
+++ b/src/utils/paths.cpp
@@ -171,7 +171,8 @@ std::string getDesktopDir()
file = std::string(xdg).append("/user-dirs.dirs");
}
- const StringVect arr = ResourceManager::loadTextFileLocal(file);
+ StringVect arr;
+ ResourceManager::loadTextFileLocal(file, arr);
FOR_EACH (StringVectCIter, it, arr)
{
std::string str = *it;