kdeconnectd: Make QByteArray->const char* conversion explicit
With latest ECM settings, this gives a Qt6 error
This commit is contained in:
parent
e957f8f90e
commit
87c9032ab9
1 changed files with 2 additions and 2 deletions
|
@ -112,9 +112,9 @@ static void detectPlatform(int argc, char **argv)
|
|||
if (sessionType.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
if (qstrcmp(sessionType, "wayland") == 0) {
|
||||
if (qstrcmp(sessionType.constData(), "wayland") == 0) {
|
||||
qputenv("QT_QPA_PLATFORM", "wayland");
|
||||
} else if (qstrcmp(sessionType, "x11") == 0) {
|
||||
} else if (qstrcmp(sessionType.constData(), "x11") == 0) {
|
||||
qputenv("QT_QPA_PLATFORM", "xcb");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue