Browse Source

Merge pull request #6 from hypnosis-i2p/master

fixed silent mode
pull/7/head
orignal 8 years ago committed by GitHub
parent
commit
bf77a952ee
  1. 10
      src/qt/forms/optionsdialog.ui
  2. 2
      src/qt/optionsdialog.cpp

10
src/qt/forms/optionsdialog.ui

@ -285,6 +285,16 @@ @@ -285,6 +285,16 @@
</property>
</widget>
</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>
<spacer name="verticalSpacer_Window">
<property name="orientation">

2
src/qt/optionsdialog.cpp

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

Loading…
Cancel
Save