Move FloatingWindow::setupWindow() into a reusable function

So other QWindow can use this
This commit is contained in:
Sergio Martins
2021-02-15 18:29:19 +00:00
parent e3c370eb6b
commit 94ee2e55fd
6 changed files with 36 additions and 33 deletions

View File

@@ -69,6 +69,8 @@ public:
static int widgetResizeHandlerMargin();
static void setupWindow(QWindow *window);
#ifdef Q_OS_WIN
static bool handleWindowsNativeEvent(FloatingWindow *w, const QByteArray &eventType, void *message, Qt5Qt6Compat::qintptr *result);
#endif