mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-28 05:50:21 +00:00
Update macOS icon to match new Big Sur style
This commit is contained in:
parent
e224a7f0c7
commit
ae5df938b6
2 changed files with 4 additions and 0 deletions
|
@ -462,7 +462,11 @@ int main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef Q_OS_DARWIN
|
||||||
|
// Set the window icon except on macOS where we want to keep the
|
||||||
|
// modified macOS 11 style rounded corner icon.
|
||||||
app.setWindowIcon(QIcon(":/res/moonlight.svg"));
|
app.setWindowIcon(QIcon(":/res/moonlight.svg"));
|
||||||
|
#endif
|
||||||
|
|
||||||
// Register our C++ types for QML
|
// Register our C++ types for QML
|
||||||
qmlRegisterType<ComputerModel>("ComputerModel", 1, 0, "ComputerModel");
|
qmlRegisterType<ComputerModel>("ComputerModel", 1, 0, "ComputerModel");
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue