Commit d473eeed 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>
parent f9b65ba9
...@@ -142,6 +142,13 @@ void TimeTooltip::setTip( const QPoint& target, const QString& time, const QStri ...@@ -142,6 +142,13 @@ void TimeTooltip::setTip( const QPoint& target, const QString& time, const QStri
void TimeTooltip::show() void TimeTooltip::show()
{ {
QWidget::setVisible( mInitialized ); 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 * ) 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