Add registration callback to close the PIN dialog properly.

This commit is contained in:
codestation
2013-09-01 02:25:03 -04:30
parent 8ab004c6d7
commit f6b7d47757
3 changed files with 14 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ void ClientManager::start()
connect(wireless_thread, SIGNAL(finished()), this, SLOT(threadStopped()));
connect(wireless_thread, SIGNAL(finished()), client, SLOT(deleteLater()));
connect(client, SIGNAL(deviceConnected(QString)), &pinForm, SLOT(hide()));
connect(client, SIGNAL(pinComplete()), &pinForm, SLOT(hide()));
connect(client, SIGNAL(deviceConnected(QString)), this, SIGNAL(deviceConnected(QString)));
connect(client, SIGNAL(deviceDisconnected()), this, SIGNAL(deviceDisconnected()));
connect(client, SIGNAL(refreshDatabase()), this, SLOT(refreshDatabase()));