aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/findincurrentfile.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2015-12-13 01:18:33 +0200
committerOrgad Shaneh <orgads@gmail.com>2015-12-18 11:54:12 +0000
commit9d3b2f09986ef23afc9907c60acc9331697225ea (patch)
treef0baefe87dab138a59dd5b93bba45283e32069d4 /src/plugins/texteditor/findincurrentfile.cpp
parentb6131e1b1dfc471e869d650ff97a6b119ec2325c (diff)
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/findincurrentfile.cpp')
-rw-r--r--src/plugins/texteditor/findincurrentfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/texteditor/findincurrentfile.cpp b/src/plugins/texteditor/findincurrentfile.cpp
index da18ab7b44..ca4d3549a6 100644
--- a/src/plugins/texteditor/findincurrentfile.cpp
+++ b/src/plugins/texteditor/findincurrentfile.cpp
@@ -46,8 +46,8 @@ using namespace TextEditor::Internal;
FindInCurrentFile::FindInCurrentFile()
: m_currentDocument(0)
{
- connect(Core::EditorManager::instance(), SIGNAL(currentEditorChanged(Core::IEditor*)),
- this, SLOT(handleFileChange(Core::IEditor*)));
+ connect(Core::EditorManager::instance(), &Core::EditorManager::currentEditorChanged,
+ this, &FindInCurrentFile::handleFileChange);
handleFileChange(Core::EditorManager::currentEditor());
}