aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/kdenotify/kdenotify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/kdenotify/kdenotify.cpp')
-rw-r--r--src/plugins/General/kdenotify/kdenotify.cpp3
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");