Commit 05fa0cc0 authored by Christian Stenger's avatar Christian Stenger
Browse files

AutoTest: Let results pane only pop up on finish

It is quite annoying if one minimizes results pane while a long
test is running and for each result item the pane comes up again.

Change-Id: I7020ae698cd61df01ed5b1402cc06d26fb018978
Reviewed-by: David Schulz's avatarDavid Schulz <>
parent 0f5f0c13
......@@ -208,8 +208,6 @@ void TestResultsPane::addTestResult(const TestResultPtr &result)
m_atEnd = scrollBar ? scrollBar->value() == scrollBar->maximum() : true;
m_model->addTestResult(result, m_expandCollapse->isChecked());
if (!m_treeView->isVisible())
+ m_model->resultTypeCount(Result::UnexpectedPass));
......@@ -498,6 +496,8 @@ void TestResultsPane::onTestRunFinished()
disconnect(m_treeView->verticalScrollBar(), &QScrollBar::rangeChanged,
this, &TestResultsPane::onScrollBarRangeChanged);
if (!m_treeView->isVisible())
void TestResultsPane::onScrollBarRangeChanged(int, int max)
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