fixed OSX compilation (Qt5)

This commit is contained in:
Luis Ángel San Martín
2014-07-06 22:03:54 +02:00
parent ec62ed4bcf
commit 067b8ac032
5 changed files with 12 additions and 6 deletions

View File

@ -210,7 +210,7 @@ bool DataBaseManagement::createTables(QSqlDatabase & database)
//queryDBInfo.finish();
QSqlQuery query("INSERT INTO db_info (version) "
"VALUES ('"VERSION"')",database);
"VALUES ('" VERSION "')",database);
//query.finish();
}
@ -245,7 +245,7 @@ void DataBaseManagement::exportComicsInfo(QString source, QString dest)
queryComicsInfo.exec();*/
QSqlQuery query("INSERT INTO dest.db_info (version) "
"VALUES ('"VERSION"')",destDB);
"VALUES ('" VERSION "')",destDB);
//query.finish();
QSqlQuery exportData(destDB);