Fix build on Linux.
This commit is contained in:
parent
e5a527b5ef
commit
4d2f17d9fc
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ bool IsApplicationActive() {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool TranslucentWindowsSupported(QPoint globalPosition) {
|
bool TranslucentWindowsSupported(QPoint globalPosition) {
|
||||||
if (QGuiApplication::platformName().startsWith(qsl("wayland"), Qt::CaseInsensitive)) {
|
if (QGuiApplication::platformName().startsWith("wayland", Qt::CaseInsensitive)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (const auto native = QGuiApplication::platformNativeInterface()) {
|
if (const auto native = QGuiApplication::platformNativeInterface()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue