Init sync and listmodel function.

This commit is contained in:
Black Hat
2018-02-28 21:11:42 +08:00
parent a4b00f823e
commit c3367543bf
12 changed files with 143 additions and 124 deletions

View File

@@ -46,9 +46,11 @@ void Controller::connected() {
}
void Controller::resync() {
qDebug() << "Syncing Matrix.";
m_connection->sync(30000);
}
void Controller::reconnect() {
qDebug() << "Connection lost. Reconnecting...";
m_connection->connectWithToken(userID, token, "");
}