Commit 1563ed9b authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

initialize variable in constructor

parent bb157d33
......@@ -526,7 +526,8 @@ void CompactHistoryLine::getCharacters(Character *array, int size, int startColu
CompactHistoryScroll::CompactHistoryScroll(unsigned int maxLineCount) :
HistoryScroll(new CompactHistoryType(maxLineCount)),
_lines(),
_blockList()
_blockList(),
_maxLineCount(0)
{
////qDebug() << "scroll of length " << maxLineCount << " created";
setMaxNbLines(maxLineCount);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment