[vlc-commits] Qt: Bring a timetooltip on the top on OS/2
KO Myung-Hun
git at videolan.org
Fri Oct 12 11:26:22 CEST 2012
vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Tue Oct 9 22:41:33 2012 +0900| [d473eeede4ab8b14902be07f330764f42dea181a] | committer: 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: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d473eeede4ab8b14902be07f330764f42dea181a
---
modules/gui/qt4/util/timetooltip.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/modules/gui/qt4/util/timetooltip.cpp b/modules/gui/qt4/util/timetooltip.cpp
index bf6eb87..cf93969 100644
--- a/modules/gui/qt4/util/timetooltip.cpp
+++ b/modules/gui/qt4/util/timetooltip.cpp
@@ -142,6 +142,13 @@ void TimeTooltip::setTip( const QPoint& target, const QString& time, const QStri
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 * )
More information about the vlc-commits
mailing list