summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@theqtcompany.com>2015-03-19 16:02:40 +0100
committerDavid Schulz <david.schulz@theqtcompany.com>2015-03-30 11:59:23 +0300
commitadb40d4bd56e7378210a32fdc4f1f63ae21f9183 (patch)
treeb6490145938f7e0ec2c91d4e0908a2200efa0aed
parent2c1a0119bd56be2e18250e4c08c1fb201f541885 (diff)
downloadqt-creator-adb40d4bd56e7378210a32fdc4f1f63ae21f9183.tar.gz
Fix scroll behavior of results pane
For long output it should be possible to scroll across the output instead of scrolling itemwise and being never capable to view the bottom of the output. Change-Id: Ia3478932894fc0b08e10466ec987f12295e9fff5 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
-rw-r--r--plugins/autotest/testresultspane.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/autotest/testresultspane.cpp b/plugins/autotest/testresultspane.cpp
index 6b50fd5fd6..a19daad9d8 100644
--- a/plugins/autotest/testresultspane.cpp
+++ b/plugins/autotest/testresultspane.cpp
@@ -73,6 +73,7 @@ TestResultsPane::TestResultsPane(QObject *parent) :
outputLayout->addWidget(m_summaryWidget);
m_listView = new Utils::ListView(m_outputWidget);
+ m_listView->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
m_model = new TestResultModel(this);
m_filterModel = new TestResultFilterModel(m_model, this);
m_filterModel->setDynamicSortFilter(true);