mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
Does it fix #1212 on Windows?
This commit is contained in:
parent
dc58dd4d6f
commit
3623f66927
1 changed files with 4 additions and 0 deletions
|
@ -266,7 +266,11 @@ void CustomFunctionsPanel::playMusic()
|
|||
else {
|
||||
phononCurrent = index;
|
||||
clickObject->clear();
|
||||
#ifdef __APPLE__
|
||||
clickObject->setCurrentSource(QUrl("file://"+track));
|
||||
#else
|
||||
clickObject->setCurrentSource(QUrl(track));
|
||||
#endif
|
||||
clickObject->play();
|
||||
playBT[index]->setIcon(CompanionIcon("stop.png"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue