]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
Fix bad signal emissions
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Mon, 19 Dec 2022 14:12:11 +0000 (15:12 +0100)
committerClaudio Cambra <claudio.cambra@gmail.com>
Tue, 20 Dec 2022 11:07:55 +0000 (12:07 +0100)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/libsync/creds/dummycredentials.cpp

index caa163854f4ae41ccd4aecb2599a212e52ab03fc..bfe952711f532d62fef34290bf8c3931c4af250c 100644 (file)
@@ -52,12 +52,12 @@ bool DummyCredentials::stillValid(QNetworkReply *reply)
 void DummyCredentials::fetchFromKeychain()
 {
     _wasFetched = true;
-    Q_EMIT(fetched());
+    emit fetched();
 }
 
 void DummyCredentials::askFromUser()
 {
-    Q_EMIT(asked());
+    emit asked();
 }
 
 void DummyCredentials::persist()