Commit c19dcec7 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Jean-Baptiste Kempf

Qt: Bring a timetooltip on the top on OS/2

This fixes the problem that a timetooltip does not appear on fullscreen
from the second fullscreen state change.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit d473eeede4ab8b14902be07f330764f42dea181a)
Signed-off-by: default avatarKO Myung-Hun <komh@chollian.net>
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 01095f12
......@@ -126,6 +126,13 @@ void TimeTooltip::setText( const QString& time, const QString& text )
void TimeTooltip::show()
{
QWidget::setVisible( mInitialized );
#ifdef Q_WS_PM
// Bring a tooltip on the top
// Without this, tooltip does not appear on fullscreen
// from the second fullscreen state change
if( mInitialized )
QWidget::raise();
#endif
}
void TimeTooltip::paintEvent( QPaintEvent * )
......
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