Fix invalid signal connection

This commit is contained in:
Olivier Goffart 2014-03-26 18:59:12 +01:00
parent 5481215813
commit 332c6cf726

View File

@ -107,7 +107,8 @@ AccountSettings::AccountSettings(QWidget *parent) :
ui->connectLabel->setText(tr("No account configured."));
ui->_buttonAdd->setEnabled(false);
connect(AccountManager::instance(), SIGNAL(accountChanged(Account*,Account*)), this, SLOT(slotAccountChanged(Account*,SAccount*)));
connect(AccountManager::instance(), SIGNAL(accountChanged(Account*,Account*)),
this, SLOT(slotAccountChanged(Account*,Account*)));
slotAccountChanged(AccountManager::instance()->account(), 0);
setFolderList(FolderMan::instance()->map());