an ability to change account, reconnection, error reporting
This commit is contained in:
parent
16f96c4f2b
commit
8432a574b9
12 changed files with 225 additions and 39 deletions
|
@ -31,8 +31,9 @@ void Accounts::onAccountAccepted()
|
|||
{
|
||||
Account* acc = static_cast<Account*>(sender());
|
||||
QMap<QString, QVariant> map = acc->value();
|
||||
const Models::Account* mAcc = model->getAccount(m_ui->tableView->selectionModel()->selectedRows().at(0).row());
|
||||
if (editing) {
|
||||
emit changeAccount(map);
|
||||
emit changeAccount(mAcc->getName(), map);
|
||||
} else {
|
||||
emit newAccount(map);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue