transmitting mySqliteLogFileName from log to guiLog

This commit is contained in:
floty
2012-02-09 17:47:51 +00:00
parent ef28267684
commit 0b7aef3cfb
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -76,6 +76,10 @@ public:
void writeLogFileStream(QString string);
void setMySqliteLogFileName(std::string theValue) {
mySqliteLogFileName = theValue;
}
signals:
void signalLogPlayerActionMsg(QString playerName, int action, int setValue);
void signalLogNewGameHandMsg(int gameID, int handID);
@@ -116,6 +120,8 @@ private:
GameTableStyleReader *myStyle;
friend class GuiWrapper;
std::string mySqliteLogFileName;
};
#endif
@@ -57,6 +57,7 @@ startWindowImpl::startWindowImpl(ConfigFile *c, Log *l)
myLog->init();
// myGuiInterface->setSession(session);
}
myGuiInterface->getMyGuiLog()->setMySqliteLogFileName(myLog->getMySqliteLogFileName());
// #ifdef __APPLE__
// setWindowModality(Qt::ApplicationModal);