mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-23 16:39:02 +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
|
||||
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