forked from blue/squawk
testing connection
This commit is contained in:
parent
3d947a0748
commit
d4afdd7a5f
11 changed files with 77 additions and 6 deletions
|
@ -56,7 +56,7 @@ void Core::Account::onClientConnected()
|
|||
}
|
||||
}
|
||||
|
||||
void Core::Account::onClientDisonnected()
|
||||
void Core::Account::onClientDisconnected()
|
||||
{
|
||||
if (state != Shared::disconnected) {
|
||||
state = Shared::disconnected;
|
||||
|
|
|
@ -35,7 +35,7 @@ private:
|
|||
|
||||
private slots:
|
||||
void onClientConnected();
|
||||
void onClientDisonnected();
|
||||
void onClientDisconnected();
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ void Core::Squawk::disconnectAccount(const QString& account)
|
|||
return;
|
||||
}
|
||||
|
||||
itr->second->connect();
|
||||
itr->second->disconnect();
|
||||
}
|
||||
|
||||
void Core::Squawk::onAccountConnectionStateChanged(int state)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue