summaryrefslogtreecommitdiff
path: root/src/libs/utils/textfieldcheckbox.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2015-03-05 22:00:05 +0200
committerhjk <hjk@theqtcompany.com>2015-03-06 13:47:27 +0000
commit329c493764cae50c0db341dbe5b63df60f3ca2d3 (patch)
treeffa33e70e15b32b98540f427e1b1d1856985b39d /src/libs/utils/textfieldcheckbox.cpp
parent0c5dac717e7ff554a9d565800bef6f040875fb5e (diff)
downloadqt-creator-329c493764cae50c0db341dbe5b63df60f3ca2d3.tar.gz
Utils: Modernize connections
Change-Id: I4650abc84e7c82a4054197319f6c849af9e5b8ce Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/libs/utils/textfieldcheckbox.cpp')
-rw-r--r--src/libs/utils/textfieldcheckbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/textfieldcheckbox.cpp b/src/libs/utils/textfieldcheckbox.cpp
index daa89d3506..52bb928c01 100644
--- a/src/libs/utils/textfieldcheckbox.cpp
+++ b/src/libs/utils/textfieldcheckbox.cpp
@@ -45,7 +45,7 @@ TextFieldCheckBox::TextFieldCheckBox(const QString &text, QWidget *parent) :
QCheckBox(text, parent),
m_trueText(QLatin1String("true")), m_falseText(QLatin1String("false"))
{
- connect(this, SIGNAL(stateChanged(int)), this, SLOT(slotStateChanged(int)));
+ connect(this, &QCheckBox::stateChanged, this, &TextFieldCheckBox::slotStateChanged);
}
QString TextFieldCheckBox::text() const