From 1b61b0b6128f2ba5adf0dadb9d7110d8a1d56a77 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 17 Feb 2014 10:45:53 +0000 Subject: added function: Qmmp::configDir() git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4103 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/kdenotify/kdenotify.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/plugins/General/kdenotify') 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"); -- cgit v1.2.3-13-gbd6f