Fix Clazy warnings

This commit is contained in:
Cameron Gutman committed 2020-02-24 17:44:21 -08:00
1 parent 10dae7482c
commit 13d68e789f
5 files changed
+18 -17

No files matched your search

+1 -1
View File
@@ -303,7 +303,7 @@ int main(int argc, char *argv[])
}
else {
#ifndef STEAM_LINK
if (qgetenv("QT_QPA_PLATFORM").isEmpty()) {
if (!qEnvironmentVariableIsSet("QT_QPA_PLATFORM")) {
qInfo() << "Unable to detect Wayland or X11, so EGLFS will be used by default. Set QT_QPA_PLATFORM to override this.";
qputenv("QT_QPA_PLATFORM", "eglfs");