From d3e68ec37e6f493f9f6069504149983337a438a2 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 3 Jan 2019 23:05:20 +0000 Subject: added Qmmp::dataPath() function git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8582 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/kdenotify/kdenotify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/General/kdenotify/kdenotify.cpp') diff --git a/src/plugins/General/kdenotify/kdenotify.cpp b/src/plugins/General/kdenotify/kdenotify.cpp index bbd384ff7..782a0dce3 100644 --- a/src/plugins/General/kdenotify/kdenotify.cpp +++ b/src/plugins/General/kdenotify/kdenotify.cpp @@ -60,7 +60,7 @@ KdeNotify::KdeNotify(QObject *parent) : QObject(parent),m_useFreedesktopSpec(fal dir.mkdir("kdenotifycache"); dir.cd("kdenotifycache"); m_coverPath = dir.absolutePath() + "/cover.jpg"; - m_imagesDir = QDir(qApp->applicationDirPath () + "/../share/qmmp" APP_NAME_SUFFIX "/images").absolutePath(); + m_imagesDir = Qmmp::dataPath() + "/images"; QSettings settings(Qmmp::configFile(),QSettings::IniFormat); settings.beginGroup("Kde_Notifier"); -- cgit v1.2.3-13-gbd6f