summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcodestylepreferences.cpp
diff options
context:
space:
mode:
authorMontel Laurent <laurent.montel@kdab.com>2015-01-30 11:02:24 +0100
committerhjk <hjk@theqtcompany.com>2015-01-30 10:40:25 +0000
commit063251ebbc6d896bc19fc54fe8626ae05412aae3 (patch)
tree7107c6194a184a444eb2b49984077fa2026fe7db /src/plugins/cpptools/cppcodestylepreferences.cpp
parentf1ac9cd56dcde0b8b2d533402557f792566ad703 (diff)
downloadqt-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.cpp4
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