Only index the database when a valid uuid is present.

Refresh the database when a PS Vita is connected.
This commit is contained in:
codestation
2013-12-19 20:53:27 -04:30
parent ee9237197d
commit b67af3b9d2
4 changed files with 18 additions and 6 deletions

View File

@@ -174,6 +174,7 @@ void CmaClient::enterEventLoop(vita_device_t *device)
eventLoop.moveToThread(&thread);
connect(&thread, SIGNAL(started()), &eventLoop, SLOT(process()));
connect(&eventLoop, SIGNAL(refreshDatabase()), this, SIGNAL(refreshDatabase()), Qt::DirectConnection);
connect(&eventLoop, SIGNAL(finishedEventLoop()), &thread, SLOT(quit()), Qt::DirectConnection);
thread.start();