Commit 3a9e25bf authored by Victor Yacovlev's avatar Victor Yacovlev

WIN32: Fixed stay on top for secondary windows

parent 680570c9
......@@ -9,11 +9,16 @@ class SecondaryWindow;
#define Top 't'
#define Bottom 'b'
#ifdef Q_OS_MAC
#if defined(Q_OS_MAC)
#define STAY_ON_TOP_FLAGS Qt::FramelessWindowHint|Qt::WindowStaysOnTopHint|Qt::Window
#define REGULAR_FLAGS Qt::FramelessWindowHint|Qt::Window
#define PARENT mainWindow
#define D_PARENT pImpl_->mainWindow_
#elif defined(Q_OS_WIN32)
#define STAY_ON_TOP_FLAGS Qt::FramelessWindowHint|Qt::WindowStaysOnTopHint|Qt::Window
#define REGULAR_FLAGS Qt::FramelessWindowHint|Qt::Window
#define PARENT 0
#define D_PARENT pImpl_->mainWindow_
#else
#define STAY_ON_TOP_FLAGS Qt::FramelessWindowHint|Qt::WindowStaysOnTopHint|Qt::Window
#define REGULAR_FLAGS Qt::FramelessWindowHint|Qt::Window
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment