┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search/filenamesearchprotocol.cpp
diff options
context:
space:
mode:
authorAlex Richardson <[email protected]>2014-04-10 03:02:10 +0200
committerAlex Richardson <[email protected]>2014-05-05 23:05:34 +0200
commit7a26fbc5c59596161b026b070e786767b94b4979 (patch)
treeb96597d65f50100795ba418f723f10e645e93c3c /src/search/filenamesearchprotocol.cpp
parent05f2c9c320694ee79dd0b60b35d98003f2d8df96 (diff)
dolphin: convert statusbar, settings and search to qt5 signals/slot syntax
Diffstat (limited to 'src/search/filenamesearchprotocol.cpp')
-rw-r--r--src/search/filenamesearchprotocol.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search/filenamesearchprotocol.cpp b/src/search/filenamesearchprotocol.cpp
index fa42c3994..fd56f68b7 100644
--- a/src/search/filenamesearchprotocol.cpp
+++ b/src/search/filenamesearchprotocol.cpp
@@ -81,8 +81,8 @@ void FileNameSearchProtocol::searchDirectory(const KUrl& directory)
dirLister->openUrl(directory);
QEventLoop eventLoop;
- QObject::connect(dirLister, SIGNAL(canceled()), &eventLoop, SLOT(quit()));
- QObject::connect(dirLister, SIGNAL(completed()), &eventLoop, SLOT(quit()));
+ QObject::connect(dirLister, static_cast<void(KDirLister::*)()>(&KDirLister::canceled), &eventLoop, &QEventLoop::quit);
+ QObject::connect(dirLister, static_cast<void(KDirLister::*)()>(&KDirLister::completed), &eventLoop, &QEventLoop::quit);
eventLoop.exec();
// Visualize all items that match the search pattern