diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2015-12-13 01:18:33 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2015-12-18 11:54:12 +0000 |
commit | 9d3b2f09986ef23afc9907c60acc9331697225ea (patch) | |
tree | f0baefe87dab138a59dd5b93bba45283e32069d4 /src/plugins/texteditor/snippets/snippetscollection.cpp | |
parent | b6131e1b1dfc471e869d650ff97a6b119ec2325c (diff) | |
download | qt-creator-9d3b2f09986ef23afc9907c60acc9331697225ea.tar.gz |
TextEditor: Use Qt5-style connects
The heavy lifting was done by clazy.
Change-Id: I380120e3419d2a3c0e272f51cc3e0d5f6aaa5e9b
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/texteditor/snippets/snippetscollection.cpp')
-rw-r--r-- | src/plugins/texteditor/snippets/snippetscollection.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/texteditor/snippets/snippetscollection.cpp b/src/plugins/texteditor/snippets/snippetscollection.cpp index 235eff9989..2efd8e7e0d 100644 --- a/src/plugins/texteditor/snippets/snippetscollection.cpp +++ b/src/plugins/texteditor/snippets/snippetscollection.cpp @@ -101,7 +101,8 @@ SnippetsCollection::SnippetsCollection() : foreach (const QFileInfo &fi, dir.entryInfoList()) m_builtInSnippetsFiles.append(fi.absoluteFilePath()); - connect(Core::ICore::instance(), SIGNAL(coreOpened()), this, SLOT(identifyGroups())); + connect(Core::ICore::instance(), &Core::ICore::coreOpened, + this, &SnippetsCollection::identifyGroups); } SnippetsCollection::~SnippetsCollection() |