[vlc-commits] Qt4: missing parentheses
Rémi Denis-Courmont
git at videolan.org
Sat May 25 09:57:43 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 25 10:49:28 2013 +0300| [7259566d6aa2ec34b1924b5eebf35741ed633ed0] | committer: Rémi Denis-Courmont
Qt4: missing parentheses
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7259566d6aa2ec34b1924b5eebf35741ed633ed0
---
modules/gui/qt4/components/preferences_widgets.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt4/components/preferences_widgets.cpp b/modules/gui/qt4/components/preferences_widgets.cpp
index 6dbf008..bf4e3a9 100644
--- a/modules/gui/qt4/components/preferences_widgets.cpp
+++ b/modules/gui/qt4/components/preferences_widgets.cpp
@@ -1155,7 +1155,7 @@ KeySelectorControl::KeySelectorControl( vlc_object_t *_p_this,
/* Find the top most widget */
QWidget *parent, *rootWidget = p;
- while( parent = rootWidget->parentWidget() )
+ while( (parent = rootWidget->parentWidget()) != NULL )
rootWidget = parent;
buildAppHotkeysList( rootWidget );
More information about the vlc-commits
mailing list