Work around dialog rendering issue with QGnomePlatform. Fixes #161

This commit is contained in:
Cameron Gutman 2019-02-12 19:45:14 -08:00
commit 4499ed3878

View file

@ -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"));