Only index the database when a valid uuid is present.
Refresh the database when a PS Vita is connected.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user