mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 13:17:41 +02:00
chore: improve log display
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@ -161,3 +161,8 @@ bool LogModel::colorLines() const
|
||||
{
|
||||
return m_colorLines;
|
||||
}
|
||||
|
||||
bool LogModel::isOverFlow()
|
||||
{
|
||||
return m_numLines >= m_maxLines && m_stopOnOverflow;
|
||||
}
|
||||
|
@ -24,6 +24,7 @@ class LogModel : public QAbstractListModel {
|
||||
void setMaxLines(int maxLines);
|
||||
void setStopOnOverflow(bool stop);
|
||||
void setOverflowMessage(const QString& overflowMessage);
|
||||
bool isOverFlow();
|
||||
|
||||
void setLineWrap(bool state);
|
||||
bool wrapLines() const;
|
||||
|
Reference in New Issue
Block a user