summaryrefslogtreecommitdiff
path: root/libre/kdelibs-libre/fix-knotify-filepath.patch
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-01-30 20:33:35 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-01-30 20:33:35 +0100
commit377f7fff82ea29f7f34ee2b4cce4147029a3b199 (patch)
treed1540e1a571ee8f30221b6d4ce1b83fb1a1862f4 /libre/kdelibs-libre/fix-knotify-filepath.patch
parent1b3ff92ac870b9525a1e592ba25079e133761d9e (diff)
kdelibs-libre and kdebase-konqueror-libre not recommending nonfree plugins.
Diffstat (limited to 'libre/kdelibs-libre/fix-knotify-filepath.patch')
-rw-r--r--libre/kdelibs-libre/fix-knotify-filepath.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/kdelibs-libre/fix-knotify-filepath.patch b/libre/kdelibs-libre/fix-knotify-filepath.patch
new file mode 100644
index 000000000..2cd995e97
--- /dev/null
+++ b/libre/kdelibs-libre/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);