Removed dead code and added some logging.

This commit is contained in:
codestation
2013-08-13 11:47:16 -04:30
parent 6b17d2bc94
commit 0d8c0a2b24
5 changed files with 15 additions and 17 deletions

View File

@@ -76,7 +76,8 @@ void MainWidget::refreshDatabase()
{
db.mutex.lock();
db.destroy();
db.create();
int count = db.create();
qDebug("Indexed %i elements in the database", count);
db.mutex.unlock();
}