Fix accountCount not updating correctly
This commit is contained in:
committed by
Carl Schwan
parent
2c1cbc91d8
commit
e6b97e3350
@@ -241,6 +241,7 @@ void Controller::addConnection(Connection *c)
|
||||
c->sync();
|
||||
|
||||
Q_EMIT connectionAdded(c);
|
||||
Q_EMIT accountCountChanged();
|
||||
}
|
||||
|
||||
void Controller::dropConnection(Connection *c)
|
||||
@@ -249,6 +250,7 @@ void Controller::dropConnection(Connection *c)
|
||||
m_connections.removeOne(c);
|
||||
|
||||
Q_EMIT connectionDropped(c);
|
||||
Q_EMIT accountCountChanged();
|
||||
c->deleteLater();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user