summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-11-23 09:53:24 +0100
committerEike Ziller <eike.ziller@nokia.com>2011-11-23 10:37:56 +0100
commit6c049b89590d18136a29a97acfe085a2e40642b7 (patch)
tree5658a8225d4a3b2dde4356023501b9117a0869cb
parent4f3e01a6303e3da939468708f10f21c1fef3a6df (diff)
downloadqt-creator-6c049b89590d18136a29a97acfe085a2e40642b7.tar.gz
analyzer: fix performance problem when resorting valgrind views
Task-number: QTCREATORBUG-6319 Change-Id: I5a2cc1845104bb16f912fe258ba25473ba85cefd Reviewed-by: hjk <qthjk@ovi.com> (cherry picked from commit b3ae7d7e181e359adccd9085d93504f3dc4ce1d9)
-rw-r--r--src/plugins/valgrind/callgrindcostview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/valgrind/callgrindcostview.cpp b/src/plugins/valgrind/callgrindcostview.cpp
index fccdeaca95..fd8abf74bc 100644
--- a/src/plugins/valgrind/callgrindcostview.cpp
+++ b/src/plugins/valgrind/callgrindcostview.cpp
@@ -71,6 +71,7 @@ CostView::CostView(QWidget *parent)
setSelectionBehavior(QAbstractItemView::SelectRows);
setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
+ setUniformRowHeights(true);
setAutoScroll(false);
setSortingEnabled(true);
setRootIsDecorated(false);