From dad7c694ce3266a42c4d9e00e4fc8fa5705a6606 Mon Sep 17 00:00:00 2001 From: floty Date: Wed, 14 Jul 2010 16:05:18 +0000 Subject: [PATCH] bugfix in logging with sqlite-db --- src/gui/qt/gametable/log/log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/qt/gametable/log/log.cpp b/src/gui/qt/gametable/log/log.cpp index 54ee05c7..85e44742 100755 --- a/src/gui/qt/gametable/log/log.cpp +++ b/src/gui/qt/gametable/log/log.cpp @@ -98,7 +98,7 @@ Log::Log(gameTableImpl* w, ConfigFile *c) : myW(w), myConfig(c), myLogDir(0), my if(!query.exec(sql)) { QMessageBox::critical(0, tr("ERROR"),query.lastError().text().toUtf8().data(), QMessageBox::Cancel); } - sql = "INSERT INTO Session (Version,Date,Time) VALUES ("; + sql = "INSERT INTO Session (PokerTH_Version,Date,Time) VALUES ("; sql += "'"+QString("%1").arg(POKERTH_BETA_RELEASE_STRING)+"',"; sql += "'"+currentTime.toString("yyyy-MM-dd")+"',"; sql += "'"+currentTime.toString("hh:mm:ss")+"')";