From a03d4d2ddea3160ec80f67f4054dca7ceafaf1a6 Mon Sep 17 00:00:00 2001 From: Tvangeste Date: Fri, 15 Jul 2011 14:50:07 +0200 Subject: [PATCH] "Auto-pronounce in Scan Pop-Up" option should not be disabled when the Scan Pop-Up is disabled. Because users can manually show the scan pop-up via Ctrl+C+C. --- preferences.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/preferences.cc b/preferences.cc index 6c8e8f25..09c91506 100644 --- a/preferences.cc +++ b/preferences.cc @@ -142,8 +142,6 @@ Preferences::Preferences( QWidget * parent, Config::Preferences const & p ): ui.useWindowsPlaySound->hide(); #endif - ui.pronounceOnLoadPopup->setEnabled( p.enableScanPopup ); - ui.pronounceOnLoadMain->setChecked( p.pronounceOnLoadMain ); ui.pronounceOnLoadPopup->setChecked( p.pronounceOnLoadPopup ); @@ -253,7 +251,6 @@ Config::Preferences Preferences::getPreferences() void Preferences::enableScanPopupToggled( bool b ) { ui.scanPopupModifiers->setEnabled( b && ui.enableScanPopupModifiers->isChecked() ); - ui.pronounceOnLoadPopup->setEnabled( b ); } void Preferences::enableScanPopupModifiersToggled( bool b )