diff options
author | Montel Laurent <laurent.montel@kdab.com> | 2015-01-30 11:02:24 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-01-30 10:40:25 +0000 |
commit | 063251ebbc6d896bc19fc54fe8626ae05412aae3 (patch) | |
tree | 7107c6194a184a444eb2b49984077fa2026fe7db /src/plugins/cpptools/cppcodestylepreferences.cpp | |
parent | f1ac9cd56dcde0b8b2d533402557f792566ad703 (diff) | |
download | qt-creator-063251ebbc6d896bc19fc54fe8626ae05412aae3.tar.gz |
Port to new connect api
Change-Id: I873a36601d54065b61d0666558b93dc839ad0dfc
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/cppcodestylepreferences.cpp')
-rw-r--r-- | src/plugins/cpptools/cppcodestylepreferences.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cpptools/cppcodestylepreferences.cpp b/src/plugins/cpptools/cppcodestylepreferences.cpp index b339c83d8a..fa3961a5da 100644 --- a/src/plugins/cpptools/cppcodestylepreferences.cpp +++ b/src/plugins/cpptools/cppcodestylepreferences.cpp @@ -37,8 +37,8 @@ static const char settingsSuffixKey[] = "CodeStyleSettings"; CppCodeStylePreferences::CppCodeStylePreferences(QObject *parent) : ICodeStylePreferences(parent) { - connect(this, SIGNAL(currentValueChanged(QVariant)), - this, SLOT(slotCurrentValueChanged(QVariant))); + connect(this, &CppCodeStylePreferences::currentValueChanged, + this, &CppCodeStylePreferences::slotCurrentValueChanged); } QVariant CppCodeStylePreferences::value() const |