How can I toggle 'StaysOnTop'
I want to toggle StaysOnTop, and I wrote like above on Qt 5.3 MSVC2012 32bit Windows
setWindowFlags(windowFlags() ^ Qt::WindowStaysOnTopHint);
qDebug() << windowFlags();
First click makes window always on top.
But next click doesn't make disabled always on top.
Is this a normal operation?
And how can I toggle always on top?
Note: I reproduced this on Windows 7 but on Linux works as expected.