FloatingWindow: This setup code is windows only

This commit is contained in:
Sergio Martins
2021-02-15 22:15:26 +00:00
parent 4ebc4e9546
commit f500791ba3

View File

@@ -103,11 +103,11 @@ FloatingWindow::FloatingWindow(MainWindowBase *parent)
if (kddwUsesQtWidgets()) {
// For QtQuick we do it a bit later, once we have the QQuickWindow
#ifdef Q_OS_WIN
create();
m_nchittestFilter = new NCHITTESTEventFilter(this);
qApp->installNativeEventFilter(m_nchittestFilter);
#endif
create();
WidgetResizeHandler::setupWindow(windowHandle());
#endif
}
DockRegistry::self()->registerFloatingWindow(this);