From 4499ed387852984bfada20b461690abeee942ac8 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 12 Feb 2019 19:45:14 -0800 Subject: [PATCH] Work around dialog rendering issue with QGnomePlatform. Fixes #161 --- app/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/main.cpp b/app/main.cpp index cb03ef8f..59e783eb 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -311,6 +311,10 @@ int main(int argc, char *argv[]) // Register custom metatypes for use in signals qRegisterMetaType("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"));