From bb2f221edf88c562ae08ead8e62d36bdecdebe67 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Mon, 9 Dec 2013 19:18:50 +0100 Subject: [PATCH] Fix broken slot connection The slot was renamed. --- src/mirall/application.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mirall/application.cpp b/src/mirall/application.cpp index 7dfbb32a0f..c7af724043 100644 --- a/src/mirall/application.cpp +++ b/src/mirall/application.cpp @@ -179,8 +179,8 @@ void Application::slotLogout() void Application::slotAccountChanged(Account *newAccount, Account *oldAccount) { - disconnect(oldAccount, SIGNAL(stateChanged(int)), _gui, SLOT(slotOnlineStateChanged())); - connect(newAccount, SIGNAL(stateChanged(int)), _gui, SLOT(slotOnlineStateChanged())); + disconnect(oldAccount, SIGNAL(stateChanged(int)), _gui, SLOT(slotAccountStateChanged())); + connect(newAccount, SIGNAL(stateChanged(int)), _gui, SLOT(slotAccountStateChanged())); }