GUI: Update MacOS detection macros
For GUI-specific things use Q_OS_MACOS, and for other things use Q_OS_APPLE.
This commit is contained in:
committed by
Chris Hennes
parent
f846cc7acf
commit
e52ef2a525
@@ -2026,7 +2026,7 @@ void setAppNameAndIcon()
|
||||
else {
|
||||
QApplication::setApplicationName(QString::fromStdString(App::Application::getExecutableName()));
|
||||
}
|
||||
#ifndef Q_OS_MACX
|
||||
#ifndef Q_OS_MACOS
|
||||
QApplication::setWindowIcon(
|
||||
Gui::BitmapFactory().pixmap(App::Application::Config()["AppIcon"].c_str()));
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user