From 8e5a52879a1f0919af361ee406d37a260c7500ad Mon Sep 17 00:00:00 2001 From: Andy Jenkinson Date: Tue, 10 Jun 2014 16:14:26 +0100 Subject: [PATCH] Partial solution to #1212 (needs testing on other platforms) --- companion/src/modeledit/customfunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/src/modeledit/customfunctions.cpp b/companion/src/modeledit/customfunctions.cpp index c6d09bab3..f3e1dc4c3 100644 --- a/companion/src/modeledit/customfunctions.cpp +++ b/companion/src/modeledit/customfunctions.cpp @@ -266,7 +266,7 @@ void CustomFunctionsPanel::playMusic() else { phononCurrent = index; clickObject->clear(); - clickObject->setCurrentSource(QUrl(track)); + clickObject->setCurrentSource(QUrl("file://"+track)); clickObject->play(); playBT[index]->setIcon(CompanionIcon("stop.png")); }