next steps on enhanced log file handling via settings dialog

This commit is contained in:
doitux
2010-06-29 09:44:27 +00:00
parent 1150d08a8a
commit 164e730ed2
5 changed files with 90 additions and 16 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ Replay::Replay() : replaySqliteLogDb(0)
replaySqliteLogDb = new QSqlDatabase();
*replaySqliteLogDb = QSqlDatabase::addDatabase("QSQLITE");
//replaySqliteLogDb->setDatabaseName(myLogDir->absolutePath()+"/pokerth-log-"+currentTime.toString("yyyy-MM-dd_hh.mm.ss")+".db");
//replaySqliteLogDb->setDatabaseName(myLogDir->absolutePath()+"/pokerth-log-"+currentTime.toString("yyyy-MM-dd_hh.mm.ss")+".pdb");
//if(!mySqliteLogDb->open()) {
// QMessageBox::critical(0, tr("ERROR"),mySqliteLogDb->lastError().text().toUtf8().data(), QMessageBox::Cancel);
//}