FloatingWindow: This setup code is windows only
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user