Skip to content

Commit

Permalink
Qt: Show TimeTooltip window without activating it on OS/2
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Baptiste Kempf <[email protected]>
(cherry picked from commit 5f0e2c0921d9ae4c942bfc801e421999d05d602e)

Signed-off-by: KO Myung-Hun <[email protected]>
Signed-off-by: Jean-Baptiste Kempf <[email protected]>
  • Loading branch information
komh authored and jbkempf committed Oct 14, 2012
1 parent c19dcec commit 6ee30a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/gui/qt4/util/timetooltip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 41,9 @@ TimeTooltip::TimeTooltip( QWidget *parent ) :
// a paintEvent occurs. This should save some CPU cycles.
setAttribute( Qt::WA_OpaquePaintEvent );

#ifdef Q_WS_WIN
#if defined( Q_WS_WIN ) || defined( Q_WS_PM )
/*
- This attribute is required on Windows to avoid focus stealing of other windows.
- This attribute is required on Windows and OS/2 to avoid focus stealing of other windows.
- When set on Linux the TimeTooltip appears behind the FSController in fullscreen.
*/
setAttribute( Qt::WA_ShowWithoutActivating );
Expand Down

0 comments on commit 6ee30a0

Please sign in to comment.