summaryrefslogtreecommitdiffstats
path: root/qt-ui/preferences.cpp
diff options
context:
space:
mode:
authorGravatar Sergey Starosek <sergey.starosek@gmail.com>2014-06-28 15:01:51 +0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-28 06:35:19 -0700
commit20e0aba0b49b6b496b473d08c1559217bb60a108 (patch)
tree61e0e51229384a7b6d8178183945a47e99ce1800 /qt-ui/preferences.cpp
parent2a8f32b87ecd40c1d81624ebc4ea483eabb349fd (diff)
downloadsubsurface-20e0aba0b49b6b496b473d08c1559217bb60a108.tar.gz
Rename slot to get rid of auto-connect warning
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.cpp')
-rw-r--r--qt-ui/preferences.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp
index 6d16b810a..ef37c10c1 100644
--- a/qt-ui/preferences.cpp
+++ b/qt-ui/preferences.cpp
@@ -25,7 +25,7 @@ PreferencesDialog::PreferencesDialog(QWidget *parent, Qt::WindowFlags f) : QDial
ui.proxyType->addItem(tr("HTTP proxy"), QNetworkProxy::HttpProxy);
ui.proxyType->addItem(tr("SOCKS proxy"), QNetworkProxy::Socks5Proxy);
ui.proxyType->setCurrentIndex(-1);
- connect(ui.proxyType, SIGNAL(currentIndexChanged(int)), this, SLOT(on_proxyType_changed(int)));
+ connect(ui.proxyType, SIGNAL(currentIndexChanged(int)), this, SLOT(proxyType_changed(int)));
connect(ui.buttonBox, SIGNAL(clicked(QAbstractButton *)), this, SLOT(buttonClicked(QAbstractButton *)));
connect(ui.gflow, SIGNAL(valueChanged(int)), this, SLOT(gflowChanged(int)));
connect(ui.gfhigh, SIGNAL(valueChanged(int)), this, SLOT(gfhighChanged(int)));
@@ -413,7 +413,7 @@ void PreferencesDialog::emitSettingsChanged()
emit settingsChanged();
}
-void PreferencesDialog::on_proxyType_changed(int idx)
+void PreferencesDialog::proxyType_changed(int idx)
{
if (idx == -1) {
return;