Browse Source

fixed silent mode

pull/6/head
hypnosis-i2p 8 years ago
parent
commit
7cc26ad07b
  1. 12
      src/qt/forms/optionsdialog.ui
  2. 2
      src/qt/optionsdialog.cpp

12
src/qt/forms/optionsdialog.ui

@ -23,7 +23,7 @@
<enum>QTabWidget::North</enum> <enum>QTabWidget::North</enum>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>2</number>
</property> </property>
<widget class="QWidget" name="tabMain"> <widget class="QWidget" name="tabMain">
<attribute name="title"> <attribute name="title">
@ -285,6 +285,16 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QCheckBox" name="silentMode">
<property name="toolTip">
<string>Suppress notifications and tray animations</string>
</property>
<property name="text">
<string>Silent mode</string>
</property>
</widget>
</item>
<item> <item>
<spacer name="verticalSpacer_Window"> <spacer name="verticalSpacer_Window">
<property name="orientation"> <property name="orientation">

2
src/qt/optionsdialog.cpp

@ -156,7 +156,7 @@ void OptionsDialog::setMapper()
mapper->addMapping(ui->minimizeToTray, OptionsModel::MinimizeToTray); mapper->addMapping(ui->minimizeToTray, OptionsModel::MinimizeToTray);
mapper->addMapping(ui->minimizeOnClose, OptionsModel::MinimizeOnClose); mapper->addMapping(ui->minimizeOnClose, OptionsModel::MinimizeOnClose);
#endif #endif
// mapper->addMapping(ui->silentMode, OptionsModel::SilentMode); mapper->addMapping(ui->silentMode, OptionsModel::SilentMode);
/* Display */ /* Display */
mapper->addMapping(ui->lang, OptionsModel::Language); mapper->addMapping(ui->lang, OptionsModel::Language);

Loading…
Cancel
Save