17 lines
901 B
Diff
17 lines
901 B
Diff
diff -up kdelibs-4.7.2/knotify/config/knotifyconfigactionswidget.cpp.qt48 kdelibs-4.7.2/knotify/config/knotifyconfigactionswidget.cpp
|
|
--- kdelibs-4.7.2/knotify/config/knotifyconfigactionswidget.cpp.qt48 2011-05-20 15:24:54.000000000 -0500
|
|
+++ kdelibs-4.7.2/knotify/config/knotifyconfigactionswidget.cpp 2011-10-26 14:18:14.000278236 -0500
|
|
@@ -129,6 +129,12 @@ void KNotifyConfigActionsWidget::slotPla
|
|
if ( soundURL.isRelative() )
|
|
{
|
|
QString soundString = soundURL.toLocalFile();
|
|
+ // hack around http://bugs.kde.org/285028
|
|
+ if ( soundString.isEmpty() )
|
|
+ {
|
|
+ soundURL.setUrl("file:" + soundURL.url());
|
|
+ soundString = soundURL.toLocalFile();
|
|
+ }
|
|
// 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);
|