diff --git a/src/ui/scanpopup.cc b/src/ui/scanpopup.cc index cb5158f3..e916a295 100644 --- a/src/ui/scanpopup.cc +++ b/src/ui/scanpopup.cc @@ -22,14 +22,13 @@ #endif #include "base_type.hh" -/// We use different window flags under Windows and X11 due to slight differences -/// in their behavior on those platforms. + static const Qt::WindowFlags defaultUnpinnedWindowFlags = #if defined( Q_OS_WIN ) Qt::Tool | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint #else - Qt::Popup + Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint #endif ;