Commit 9367ce0b authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Jean-Baptiste Kempf

Qt: fix tooltip events handling on Win32

Close #4779
parent 8afc181f
......@@ -40,6 +40,7 @@ TimeTooltip::TimeTooltip( QWidget *parent ) :
// Tell Qt that it doesn't need to erase the background before
// a paintEvent occurs. This should save some CPU cycles.
setAttribute( Qt::WA_OpaquePaintEvent );
setAttribute( Qt::WA_ShowWithoutActivating );
// Inherit from the system default font size -5
mFont = QFont( "Verdana", qMax( qApp->font().pointSize() - 5, 7 ) );
......
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