Fix Clazy warnings
This commit is contained in:
parent
10dae7482c
commit
13d68e789f
5 changed files with 18 additions and 17 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue