[Pkg-mpd-commits] [qmpdclient] 10/38: config.cpp: append dir separator to m_systemPath in Q_WS_WIN case
Andrey Rahmatullin
wrar at moszumanska.debian.org
Mon May 23 07:19:44 UTC 2016
This is an automated email from the git hooks/post-receive script.
wrar pushed a commit to branch master
in repository qmpdclient.
commit 06cc5d6dc8a9325026d37620d96127f1d26736fc
Author: Denis Krjuchkov <denis at crazydev.net>
Date: Sat Mar 31 11:35:53 2012 +0600
config.cpp: append dir separator to m_systemPath in Q_WS_WIN case
This is assumed by localeFile(), otherwise localization files won't be found.
---
src/config.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/config.cpp b/src/config.cpp
index 7054fba..28432b0 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -43,7 +43,7 @@ Config::Config() :
QString execPath = QCoreApplication::applicationDirPath();
QString prefix = execPath.section("/", 0, -2);
#ifdef Q_WS_WIN
- m_systemPath = execPath;
+ m_systemPath = execPath + "/";
m_userPath = m_cachePath;
#else
m_systemPath = prefix + "/share/QMPDClient/";
@@ -715,4 +715,4 @@ QString Config::lastFmServer() const {
void Config::setLastFmServer(const QString &s) {
setValue("/lastfm/server", s);
-}
\ No newline at end of file
+}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/qmpdclient.git
More information about the Pkg-mpd-commits
mailing list