move 'first show' variable outside of ifdef

This commit is contained in:
itsmattkc
2021-04-11 12:11:47 +10:00
parent 72669761a7
commit 391cf81e34
+1 -1
View File
@@ -640,9 +640,9 @@ void MainWindow::showEvent(QShowEvent *e)
if (!strcmp(vendor, "nouveau")) {
QMetaObject::invokeMethod(this, "ShowNouveauWarning", Qt::QueuedConnection);
}
#endif
first_show_ = false;
#endif
}
}