mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 13:31:41 +00:00
Work around dialog rendering issue with QGnomePlatform. Fixes #161
This commit is contained in:
1 parent
feb5e3bc78
commit
4499ed3878
1 file changed
+4
@@ -311,6 +311,10 @@ int main(int argc, char *argv[])
|
||||
// Register custom metatypes for use in signals
|
||||
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);
|
||||
|
||||
app.setWindowIcon(QIcon(":/res/moonlight.svg"));
|
||||
|
||||
Reference in new issue
Block a user