mirror of
https://github.com/vicr123/the-libs.git
synced 2025-01-22 10:22:03 -05:00
Fix build on macOS and Windows
This commit is contained in:
parent
95f9cf77dd
commit
8975be9b41
1 changed files with 4 additions and 4 deletions
|
@ -29,6 +29,10 @@ tSystemSound::tSystemSound(QObject *parent) : QObject(parent)
|
|||
|
||||
}
|
||||
|
||||
tSystemSound* tSystemSound::play(QString soundName) {
|
||||
return play(soundName, 1);
|
||||
}
|
||||
|
||||
#ifdef T_OS_UNIX_NOT_MAC
|
||||
QSettings::Format desktopFormat = QSettings::InvalidFormat;
|
||||
|
||||
|
@ -116,10 +120,6 @@ tSystemSound::tSystemSound(QObject *parent) : QObject(parent)
|
|||
return "";
|
||||
}
|
||||
|
||||
tSystemSound* tSystemSound::play(QString soundName) {
|
||||
return play(soundName, 1);
|
||||
}
|
||||
|
||||
tSystemSound* tSystemSound::play(QString soundName, qreal volume) {
|
||||
QString soundPath = soundLocation(soundName);
|
||||
if (soundPath != "") {
|
||||
|
|
Loading…
Reference in a new issue