From cfc2e267a4ed8cc724577d1b96f0d12bb45bfbfa Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Mon, 28 Feb 2022 15:35:11 +0100 Subject: [PATCH] xcb: fix a typo for WindowTypes Pick-to: 6.3 6.2 5.15 Fixes: QTBUG-101306 Change-Id: If02fe4997d27b952886ce664133d1aafc2b41669 Reviewed-by: Liang Qi --- src/plugins/platforms/xcb/qxcbwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp index c9b6c10e05..464d032003 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.cpp +++ b/src/plugins/platforms/xcb/qxcbwindow.cpp @@ -1594,7 +1594,7 @@ void QXcbWindow::setWmWindowType(WindowTypes types, Qt::WindowFlags flags) break; } - if ((flags & Qt::FramelessWindowHint) && !(type & WindowType::KdeOverride)) { + if ((flags & Qt::FramelessWindowHint) && !(types & WindowType::KdeOverride)) { // override netwm type - quick and easy for KDE noborder atoms.append(atom(QXcbAtom::_KDE_NET_WM_WINDOW_TYPE_OVERRIDE)); }