Does it fix #1212 on Windows?
This commit is contained in:
@@ -266,7 +266,11 @@ void CustomFunctionsPanel::playMusic()
|
|||||||
else {
|
else {
|
||||||
phononCurrent = index;
|
phononCurrent = index;
|
||||||
clickObject->clear();
|
clickObject->clear();
|
||||||
|
#ifdef __APPLE__
|
||||||
clickObject->setCurrentSource(QUrl("file://"+track));
|
clickObject->setCurrentSource(QUrl("file://"+track));
|
||||||
|
#else
|
||||||
|
clickObject->setCurrentSource(QUrl(track));
|
||||||
|
#endif
|
||||||
clickObject->play();
|
clickObject->play();
|
||||||
playBT[index]->setIcon(CompanionIcon("stop.png"));
|
playBT[index]->setIcon(CompanionIcon("stop.png"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user