From: Claudio Cambra Date: Mon, 19 Dec 2022 14:11:59 +0000 (+0100) Subject: Remove use of emit keyword where used for non signals X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~99^2^2~53^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1dfb9b26f2efcbe27626004cc861728168f945cb;p=nextcloud-desktop.git Remove use of emit keyword where used for non signals Signed-off-by: Claudio Cambra --- diff --git a/src/gui/filedetails/shareemodel.cpp b/src/gui/filedetails/shareemodel.cpp index 2fb9be8f6..13ced59dc 100644 --- a/src/gui/filedetails/shareemodel.cpp +++ b/src/gui/filedetails/shareemodel.cpp @@ -231,9 +231,9 @@ void ShareeModel::shareesFetched(const QJsonDocument &reply) appendSharees(replyDataObject); appendSharees(replyDataExactMatchObject); - Q_EMIT beginResetModel(); + beginResetModel(); _sharees = newSharees; - Q_EMIT endResetModel(); + endResetModel(); Q_EMIT shareesReady(); } diff --git a/src/gui/settingsdialog.cpp b/src/gui/settingsdialog.cpp index 399e55df3..18e267165 100644 --- a/src/gui/settingsdialog.cpp +++ b/src/gui/settingsdialog.cpp @@ -224,7 +224,7 @@ void SettingsDialog::showIssuesList(AccountState *account) const auto userModel = UserModel::instance(); const auto id = userModel->findUserIdForAccount(account); UserModel::instance()->setCurrentUserId(id); - emit Systray::instance()->showWindow(); + Systray::instance()->showWindow(); } void SettingsDialog::accountAdded(AccountState *s)