Skip to content

Commit

Permalink
fix: set scanPopup flags to what's is needed instead of Qt::Popup
Browse files Browse the repository at this point in the history
  • Loading branch information
shenlebantongying committed Oct 7, 2024
1 parent 94ea6c5 commit 7f497b0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ui/scanpopup.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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

This comment has been minimized.

Copy link
@KonstantinDjairo

KonstantinDjairo Oct 7, 2024

Contributor

maybe this has something to do with this issue #1795

#else
Qt::Popup
Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint
#endif
;

Expand Down

0 comments on commit 7f497b0

Please sign in to comment.