Browse Source

qt: don't test boolean value against integer constant

pull/134/head
Lyndon Brown 4 years ago
committed by Jean-Baptiste Kempf
parent
commit
a9f2c8fd40
  1. 2
      modules/gui/qt/dialogs/preferences/simple_preferences.cpp

2
modules/gui/qt/dialogs/preferences/simple_preferences.cpp

@ -729,7 +729,7 @@ SPrefsPanel::SPrefsPanel( qt_intf_t *_p_intf, QWidget *_parent,
TestCaC( "network-caching", 10/3 );
TestCaC( "disc-caching", 1);
TestCaC( "live-caching", 1 );
if( b_cache_equal == 1 )
if( b_cache_equal )
ui.cachingCombo->setCurrentIndex(
ui.cachingCombo->findData( QVariant( i_cache ) ) );
#undef TestCaC

Loading…
Cancel
Save