Added console coloring and made the log not contain any usernames/session ids

This commit is contained in:
Stiepen22
2013-09-08 15:02:52 +02:00
parent 5cac21ca63
commit dab2bbe4e7
4 changed files with 34 additions and 10 deletions

View File

@ -61,6 +61,8 @@ public:
void killMinecraft();
inline void setLogin(QString user, QString sid) { username = user; sessionID = sid; }
signals:
/**
* @brief emitted when mc has finished and the PostLaunchCommand was run
@ -87,4 +89,7 @@ protected slots:
void on_stdOut();
private:
bool killed;
MessageLevel::Enum getLevel(const QString &message, MessageLevel::Enum defaultLevel);
QString sessionID;
QString username;
};