diff --git a/src/app/accountadapter.cpp b/src/app/accountadapter.cpp
index a60446ad335c8c4b9b6c146cf00decf613b3d1d8..a6278c4dc18fd347993075ddeb13d9da6fbc3f21 100644
--- a/src/app/accountadapter.cpp
+++ b/src/app/accountadapter.cpp
@@ -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();
                           });
 
diff --git a/src/app/accountadapter.h b/src/app/accountadapter.h
index 7ecfa9442fe251c5769787dbdfee1c8d4f76f38e..326dda8e1390bb74edce98515511a635ab173263 100644
--- a/src/app/accountadapter.h
+++ b/src/app/accountadapter.h
@@ -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: