Robert Reif: initialize array (#366)

This commit is contained in:
Daniel Marjamäki 2009-11-24 17:25:27 +01:00
parent 65128b1331
commit 4e340d556d
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@ ResultsTree::ResultsTree(QWidget * parent) :
mCheckPath(""),
mVisibleErrors(false)
{
for (int i = 0; i < SHOW_NONE; i++)
mShowTypes[i] = false;
setModel(&mModel);
QStringList labels;
labels << tr("File") << tr("Severity") << tr("Line") << tr("Message");