+ Add autoStart property to preferences (patch by Ars)

This commit is contained in:
Konstantin Isakov 2009-04-18 18:21:12 +00:00
parent 24bd7066c3
commit f0a553a6b6
2 changed files with 749 additions and 693 deletions

View file

@ -52,6 +52,7 @@ Preferences::Preferences( QWidget * parent, Config::Preferences const & p ):
ui.enableTrayIcon->setChecked( p.enableTrayIcon ); ui.enableTrayIcon->setChecked( p.enableTrayIcon );
ui.startToTray->setChecked( p.startToTray ); ui.startToTray->setChecked( p.startToTray );
ui.closeToTray->setChecked( p.closeToTray ); ui.closeToTray->setChecked( p.closeToTray );
ui.cbAutostart->setChecked( p.autoStart );
ui.enableScanPopup->setChecked( p.enableScanPopup ); ui.enableScanPopup->setChecked( p.enableScanPopup );
ui.startWithScanPopupOn->setChecked( p.startWithScanPopupOn ); ui.startWithScanPopupOn->setChecked( p.startWithScanPopupOn );
ui.enableScanPopupModifiers->setChecked( p.enableScanPopupModifiers ); ui.enableScanPopupModifiers->setChecked( p.enableScanPopupModifiers );
@ -126,6 +127,7 @@ Config::Preferences Preferences::getPreferences()
p.enableTrayIcon = ui.enableTrayIcon->isChecked(); p.enableTrayIcon = ui.enableTrayIcon->isChecked();
p.startToTray = ui.startToTray->isChecked(); p.startToTray = ui.startToTray->isChecked();
p.closeToTray = ui.closeToTray->isChecked(); p.closeToTray = ui.closeToTray->isChecked();
p.autoStart = ui.cbAutostart->isChecked();
p.enableScanPopup = ui.enableScanPopup->isChecked(); p.enableScanPopup = ui.enableScanPopup->isChecked();
p.startWithScanPopupOn = ui.startWithScanPopupOn->isChecked(); p.startWithScanPopupOn = ui.startWithScanPopupOn->isChecked();
p.enableScanPopupModifiers = ui.enableScanPopupModifiers->isChecked(); p.enableScanPopupModifiers = ui.enableScanPopupModifiers->isChecked();

File diff suppressed because it is too large Load diff