transmitting mySqliteLogFileName from log to guiLog
This commit is contained in:
@@ -76,6 +76,10 @@ public:
|
|||||||
|
|
||||||
void writeLogFileStream(QString string);
|
void writeLogFileStream(QString string);
|
||||||
|
|
||||||
|
void setMySqliteLogFileName(std::string theValue) {
|
||||||
|
mySqliteLogFileName = theValue;
|
||||||
|
}
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void signalLogPlayerActionMsg(QString playerName, int action, int setValue);
|
void signalLogPlayerActionMsg(QString playerName, int action, int setValue);
|
||||||
void signalLogNewGameHandMsg(int gameID, int handID);
|
void signalLogNewGameHandMsg(int gameID, int handID);
|
||||||
@@ -116,6 +120,8 @@ private:
|
|||||||
GameTableStyleReader *myStyle;
|
GameTableStyleReader *myStyle;
|
||||||
|
|
||||||
friend class GuiWrapper;
|
friend class GuiWrapper;
|
||||||
|
|
||||||
|
std::string mySqliteLogFileName;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ startWindowImpl::startWindowImpl(ConfigFile *c, Log *l)
|
|||||||
myLog->init();
|
myLog->init();
|
||||||
// myGuiInterface->setSession(session);
|
// myGuiInterface->setSession(session);
|
||||||
}
|
}
|
||||||
|
myGuiInterface->getMyGuiLog()->setMySqliteLogFileName(myLog->getMySqliteLogFileName());
|
||||||
|
|
||||||
// #ifdef __APPLE__
|
// #ifdef __APPLE__
|
||||||
// setWindowModality(Qt::ApplicationModal);
|
// setWindowModality(Qt::ApplicationModal);
|
||||||
|
|||||||
Reference in New Issue
Block a user