GH-1675 reimplement suspesion of log watch

This commit is contained in:
Petr Mrázek
2016-10-11 21:34:02 +02:00
parent 6e80f03409
commit f07496ac6d
4 changed files with 12 additions and 7 deletions

View File

@ -17,6 +17,7 @@ public:
void append(MessageLevel::Enum, QString line);
void clear();
void suspend(bool suspend);
QString toPlainText();
@ -45,6 +46,7 @@ private: /* data */
int m_numLines = 0;
bool m_stopOnOverflow = false;
QString m_overflowMessage = "OVERFLOW";
bool m_suspended = false;
private:
Q_DISABLE_COPY(LogModel)