[vlc-commits] Qt: Bring a timetooltip on the top on OS/2
KO Myung-Hun
git at videolan.org
Mon Oct 15 01:02:04 CEST 2012
vlc/vlc-2.0 | branch: master | KO Myung-Hun <komh78 at gmail.com> | Tue Oct 9 22:41:33 2012 +0900| [c19dcec79b9a742015d48c50c62e9954c6f72d33] | 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>
(cherry picked from commit d473eeede4ab8b14902be07f330764f42dea181a)
Signed-off-by: KO Myung-Hun <komh at chollian.net>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=c19dcec79b9a742015d48c50c62e9954c6f72d33
---
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 d031e79..4613680 100644
--- a/modules/gui/qt4/util/timetooltip.cpp
+++ b/modules/gui/qt4/util/timetooltip.cpp
@@ -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 * )
More information about the vlc-commits
mailing list