Commit 90c479c2 authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Jean-Baptiste Kempf

Qt: Avoid focus stealing of the tooltip on Win32

Close #12060
Ref #12084
parent bc270b0d
......@@ -33,12 +33,14 @@
TimeTooltip::TimeTooltip( QWidget *parent ) :
QWidget( parent )
{
setWindowFlags( Qt::Window |
setWindowFlags(
#if defined( Q_OS_WIN )
Qt::ToolTip
#else
Qt::Window |
Qt::WindowStaysOnTopHint |
Qt::FramelessWindowHint |
Qt::X11BypassWindowManagerHint
#if HAS_QT5
| Qt::WindowDoesNotAcceptFocus
#endif
);
......
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