summaryrefslogtreecommitdiffstats
path: root/gui/dialogs/SettingsDialog.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-01-07 02:19:26 +0100
committerPetr Mrázek <peterix@gmail.com>2014-01-07 02:19:26 +0100
commit28c35ea0db3b38a050f18c8aa868061202f931da (patch)
tree910e275e2a52ef9558d5378d35cc7cbdfab460ec /gui/dialogs/SettingsDialog.cpp
parent267f18ca814cbe96e9581dfbf79b744543d1e8b8 (diff)
downloadMultiMC-28c35ea0db3b38a050f18c8aa868061202f931da.tar
MultiMC-28c35ea0db3b38a050f18c8aa868061202f931da.tar.gz
MultiMC-28c35ea0db3b38a050f18c8aa868061202f931da.tar.lz
MultiMC-28c35ea0db3b38a050f18c8aa868061202f931da.tar.xz
MultiMC-28c35ea0db3b38a050f18c8aa868061202f931da.zip
Fix proxy settings radio buttons not triggering updates of the proxy settings.
Diffstat (limited to 'gui/dialogs/SettingsDialog.cpp')
-rw-r--r--gui/dialogs/SettingsDialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/dialogs/SettingsDialog.cpp b/gui/dialogs/SettingsDialog.cpp
index 091ffb1c..00b3b1fd 100644
--- a/gui/dialogs/SettingsDialog.cpp
+++ b/gui/dialogs/SettingsDialog.cpp
@@ -61,6 +61,7 @@ SettingsDialog::SettingsDialog(QWidget *parent) : QDialog(parent), ui(new Ui::Se
{
MMC->updateChecker()->updateChanList();
}
+ connect(ui->proxyGroup, SIGNAL(buttonClicked(int)), SLOT(proxyChanged(int)));
}
SettingsDialog::~SettingsDialog()
@@ -215,9 +216,8 @@ void SettingsDialog::on_buttonBox_rejected()
MMC->settings()->set("SettingsGeometry", saveGeometry().toBase64());
}
-void SettingsDialog::on_proxyNoneBtn_toggled(bool checked)
+void SettingsDialog::proxyChanged(int)
{
- Q_UNUSED(checked);
updateCheckboxStuff();
}