mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +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.startToTray->setChecked( p.startToTray );
|
||||
ui.closeToTray->setChecked( p.closeToTray );
|
||||
ui.cbAutostart->setChecked( p.autoStart );
|
||||
ui.enableScanPopup->setChecked( p.enableScanPopup );
|
||||
ui.startWithScanPopupOn->setChecked( p.startWithScanPopupOn );
|
||||
ui.enableScanPopupModifiers->setChecked( p.enableScanPopupModifiers );
|
||||
|
@ -126,6 +127,7 @@ Config::Preferences Preferences::getPreferences()
|
|||
p.enableTrayIcon = ui.enableTrayIcon->isChecked();
|
||||
p.startToTray = ui.startToTray->isChecked();
|
||||
p.closeToTray = ui.closeToTray->isChecked();
|
||||
p.autoStart = ui.cbAutostart->isChecked();
|
||||
p.enableScanPopup = ui.enableScanPopup->isChecked();
|
||||
p.startWithScanPopupOn = ui.startWithScanPopupOn->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