mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-15 14:42:26 +00:00
Fix Clazy warnings
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user