Browse Source

Qt4: missing parentheses

Rémi Denis-Courmont 12 years ago
parent
commit
7259566d6a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/gui/qt4/components/preferences_widgets.cpp

+ 1 - 1
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 );