[vlc-devel] commit: Qt: code cosmetic. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Mon Jun 8 16:04:11 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jun 8 16:03:57 2009 +0200| [b707a067f76a05ffe7deb35a998ab7b5a14545bf] | committer: Jean-Baptiste Kempf
Qt: code cosmetic.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b707a067f76a05ffe7deb35a998ab7b5a14545bf
---
modules/gui/qt4/main_interface.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 4b0be03..86b29fb 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -1175,10 +1175,10 @@ void MainInterface::customEvent( QEvent *event )
{
SetVideoOnTopQtEvent* p_event = (SetVideoOnTopQtEvent*)event;
if( p_event->OnTop() )
- setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint);
+ setWindowFlags( windowFlags() | Qt::WindowStaysOnTopHint );
else
- setWindowFlags(windowFlags() & ~Qt::WindowStaysOnTopHint);
- show(); /* necessary to apply window flags?? */
+ setWindowFlags( windowFlags() & ~Qt::WindowStaysOnTopHint );
+ show(); /* necessary to apply window flags */
}
}
More information about the vlc-devel
mailing list