Skip to content
Snippets Groups Projects
Commit 990615f4 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

accountadapter: reinstate accountRemoved signal for qml testing

Gitlab: #899
Change-Id: Id00f91996fe93279992a2aa8c5778de8a93dcdbc
parent 270fe6c1
No related branches found
No related tags found
No related merge requests found
......@@ -256,7 +256,7 @@ AccountAdapter::deleteCurrentAccount()
Utils::oneShotConnect(&lrcInstance_->accountModel(),
&lrc::api::AccountModel::accountRemoved,
[this](const QString& accountId) {
Q_UNUSED(accountId);
Q_EMIT accountRemoved(accountId);
Q_EMIT lrcInstance_->accountListChanged();
});
......
......@@ -87,7 +87,8 @@ Q_SIGNALS:
// Send report failure to QML to make it show the right UI state .
void reportFailure();
void accountCreationFailed();
void accountAdded(QString accountId, int index);
void accountAdded(const QString& accountId, int index);
void accountRemoved(const QString& accountId);
void accountConfigFinalized();
private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment