diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2015-03-05 22:00:05 +0200 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-03-06 13:47:27 +0000 |
commit | 329c493764cae50c0db341dbe5b63df60f3ca2d3 (patch) | |
tree | ffa33e70e15b32b98540f427e1b1d1856985b39d /src/libs/utils/textfieldcheckbox.cpp | |
parent | 0c5dac717e7ff554a9d565800bef6f040875fb5e (diff) | |
download | qt-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.cpp | 2 |
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 |