summaryrefslogtreecommitdiff
path: root/libre/kdelibs-libre/fix-knotify-filepath.patch
blob: 2cd995e979d405ed1d28f8a11fcca4f9b5e575fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);