summaryrefslogtreecommitdiff
path: root/extra/kdelibs/fix-knotify-filepath.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-30 23:14:51 +0000
committerroot <root@rshg054.dnsready.net>2011-12-30 23:14:51 +0000
commit5d738f85840804ee493d267784d9cce5dc52f535 (patch)
tree646f79576fee9f326fa833f7ca480d2355056556 /extra/kdelibs/fix-knotify-filepath.patch
parent8a823402bd45dc875237a20f174ecbe64e1bae4d (diff)
Fri Dec 30 23:14:51 UTC 2011
Diffstat (limited to 'extra/kdelibs/fix-knotify-filepath.patch')
-rw-r--r--extra/kdelibs/fix-knotify-filepath.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/kdelibs/fix-knotify-filepath.patch b/extra/kdelibs/fix-knotify-filepath.patch
new file mode 100644
index 000000000..2cd995e97
--- /dev/null
+++ b/extra/kdelibs/fix-knotify-filepath.patch
@@ -0,0 +1,13 @@
+diff --git a/knotify/config/knotifyconfigactionswidget.cpp b/knotify/config/knotifyconfigactionswidget.cpp
+index 88d18b6..0e76658 100644
+--- a/knotify/config/knotifyconfigactionswidget.cpp
++++ b/knotify/config/knotifyconfigactionswidget.cpp
+@@ -128,7 +128,7 @@ void KNotifyConfigActionsWidget::slotPlay( )
+ KUrl soundURL = m_ui.Sound_select->url();
+ if ( soundURL.isRelative() )
+ {
+- QString soundString = soundURL.toLocalFile();
++ QString soundString = m_ui.Sound_select->text();
+ // we need a way to get the application name in order to ba able to do this :
+ /*QString search = QString("%1/sounds/%2").arg(config->appname).arg(soundFile);
+ search = KGlobal::mainComponent().dirs()->findResource("data", search);