From e596b55977580e16e69a37b8a3a0325f72267354 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Wed, 11 Sep 2019 14:55:58 +0200 Subject: [PATCH] Discovery: Change local job signal signatures To make it more explicit that data a copy of the data is transfered between threads. (though Qt will make a copy of the arguments anyway) --- src/libsync/discoveryphase.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libsync/discoveryphase.h b/src/libsync/discoveryphase.h index ba098c545..c0e648ba6 100644 --- a/src/libsync/discoveryphase.h +++ b/src/libsync/discoveryphase.h @@ -90,11 +90,11 @@ public: void run() Q_DECL_OVERRIDE; signals: - void finished(const QVector &result); - void finishedFatalError(const QString &errorString); - void finishedNonFatalError(const QString &errorString); + void finished(QVector result); + void finishedFatalError(QString errorString); + void finishedNonFatalError(QString errorString); - void itemDiscovered(const SyncFileItemPtr &item); + void itemDiscovered(SyncFileItemPtr item); void childIgnored(bool b); private slots: private: