transmitting mySqliteLogFileName from log to guiLog
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user