mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 22:50:57 +00:00
Work around dialog rendering issue with QGnomePlatform. Fixes #161
This commit is contained in:
@@ -311,6 +311,10 @@ int main(int argc, char *argv[])
|
|||||||
// Register custom metatypes for use in signals
|
// Register custom metatypes for use in signals
|
||||||
qRegisterMetaType<NvApp>("NvApp");
|
qRegisterMetaType<NvApp>("NvApp");
|
||||||
|
|
||||||
|
// Disable desktop settings awareness due to issues with QGnomePlatform
|
||||||
|
// breaking our dialog rendering on Linux.
|
||||||
|
QGuiApplication::setDesktopSettingsAware(false);
|
||||||
|
|
||||||
QGuiApplication app(argc, argv);
|
QGuiApplication app(argc, argv);
|
||||||
|
|
||||||
app.setWindowIcon(QIcon(":/res/moonlight.svg"));
|
app.setWindowIcon(QIcon(":/res/moonlight.svg"));
|
||||||
|
|||||||
Reference in New Issue
Block a user