diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-02-17 10:45:53 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-02-17 10:45:53 +0000 |
| commit | 1b61b0b6128f2ba5adf0dadb9d7110d8a1d56a77 (patch) | |
| tree | c88d71d16fe43dcc38d9cae74b6694216b5ef81f /src/plugins/General/kdenotify/kdenotify.cpp | |
| parent | 1923578200d8105317d1462d59ff6b041111214b (diff) | |
| download | qmmp-1b61b0b6128f2ba5adf0dadb9d7110d8a1d56a77.tar.gz qmmp-1b61b0b6128f2ba5adf0dadb9d7110d8a1d56a77.tar.bz2 qmmp-1b61b0b6128f2ba5adf0dadb9d7110d8a1d56a77.zip | |
added function: Qmmp::configDir()
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4103 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/kdenotify/kdenotify.cpp')
| -rw-r--r-- | src/plugins/General/kdenotify/kdenotify.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/General/kdenotify/kdenotify.cpp b/src/plugins/General/kdenotify/kdenotify.cpp index 0346c52cb..47e7987d6 100644 --- a/src/plugins/General/kdenotify/kdenotify.cpp +++ b/src/plugins/General/kdenotify/kdenotify.cpp @@ -55,8 +55,7 @@ KdeNotify::KdeNotify(QObject *parent) : QObject(parent),m_useFreedesktopSpec(fal m_useFreedesktopSpec = true; } qWarning() << "KdeNotify: DBus interfece created successfully."; - QString path = QFileInfo(Qmmp::configFile()).absoluteDir().path(); - QDir dir(path); + QDir dir(Qmmp::configDir()); if(!dir.exists("kdenotifycache")) dir.mkdir("kdenotifycache"); dir.cd("kdenotifycache"); |
