mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 07:15:27 +00:00
Update macOS icon to match new Big Sur style
This commit is contained in:
parent
e224a7f0c7
commit
ae5df938b6
@ -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…
x
Reference in New Issue
Block a user