Commit f7459276 authored by Jakob Leben's avatar Jakob Leben

Qt: compile fix

parent 9f5e5825
...@@ -150,8 +150,9 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -150,8 +150,9 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
controls.append( control ); \ controls.append( control ); \
} \ } \
else { \ else { \
QWidget *widget = label; \
qcontrol->setVisible( false ); \ qcontrol->setVisible( false ); \
if( label ) label->setEnabled( false ); \ if( widget ) widget->setEnabled( false ); \
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment