1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 09:45:21 +03:00

Partial solution to #1212 (needs testing on other platforms)

This commit is contained in:
Andy Jenkinson 2014-06-10 16:14:26 +01:00
parent 6bfc4f7986
commit 8e5a52879a

View file

@ -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"));
}