Work around dialog rendering issue with QGnomePlatform. Fixes #161
This commit is contained in:
parent
feb5e3bc78
commit
4499ed3878
1 changed files with 4 additions and 0 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue