Fix build on Linux.

This commit is contained in:
John Preston 2020-05-12 16:34:30 +04:00
parent e5a527b5ef
commit 4d2f17d9fc

View file

@ -22,7 +22,7 @@ bool IsApplicationActive() {
}
bool TranslucentWindowsSupported(QPoint globalPosition) {
if (QGuiApplication::platformName().startsWith(qsl("wayland"), Qt::CaseInsensitive)) {
if (QGuiApplication::platformName().startsWith("wayland", Qt::CaseInsensitive)) {
return true;
}
if (const auto native = QGuiApplication::platformNativeInterface()) {