mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 19:43:55 -07:00
use list over vector
This commit is contained in:
parent
b99ae7f463
commit
559d4bd47f
2 changed files with 3 additions and 3 deletions
|
|
@ -25,11 +25,11 @@ private:
|
|||
QTextStream fileStream;
|
||||
QFile fileHandle;
|
||||
|
||||
QVector<QString> logBuffer;
|
||||
QList<QString> logBuffer;
|
||||
public:
|
||||
void logToFile(bool enabled);
|
||||
void log(QtMsgType type, const QMessageLogContext &ctx, const QString &message);
|
||||
QVector<QString> getLogBuffer() { return logBuffer; }
|
||||
QList<QString> getLogBuffer() { return logBuffer; }
|
||||
protected:
|
||||
void openLogfileSession();
|
||||
void closeLogfileSession();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue