Add color lines button
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
This commit is contained in:
parent
4ac6a0629b
commit
1ee1bab067
7 changed files with 55 additions and 2 deletions
|
@ -149,3 +149,15 @@ bool LogModel::wrapLines() const
|
|||
{
|
||||
return m_lineWrap;
|
||||
}
|
||||
|
||||
void LogModel::setColorLines(bool state)
|
||||
{
|
||||
if (m_colorLines != state) {
|
||||
m_colorLines = state;
|
||||
}
|
||||
}
|
||||
|
||||
bool LogModel::colorLines() const
|
||||
{
|
||||
return m_colorLines;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue