mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
+ Add autoStart property to preferences (patch by Ars)
This commit is contained in:
parent
24bd7066c3
commit
f0a553a6b6
|
@ -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();
|
||||||
|
|
1440
src/preferences.ui
1440
src/preferences.ui
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue