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