Преглед на файлове

Qt4: missing parentheses

Rémi Denis-Courmont преди 12 години
родител
ревизия
7259566d6a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 );