diff options
author | Eike Ziller <eike.ziller@theqtcompany.com> | 2014-11-26 11:11:46 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@theqtcompany.com> | 2014-11-26 11:11:46 +0100 |
commit | 938326ef2c1b00fd1e87da14a5b4e546ab447679 (patch) | |
tree | 11e9d8fc0c3a8960a2c2cb04777fd4c86bfd01ca /src/plugins/valgrind/memcheckerrorview.cpp | |
parent | cc035a59b1b7800a651ff298842b6a1c7844b224 (diff) | |
parent | 26920307f0b481809d0179bdc007d1336794690c (diff) | |
download | qt-creator-938326ef2c1b00fd1e87da14a5b4e546ab447679.tar.gz |
Merge remote-tracking branch 'origin/3.3'
Diffstat (limited to 'src/plugins/valgrind/memcheckerrorview.cpp')
-rw-r--r-- | src/plugins/valgrind/memcheckerrorview.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/valgrind/memcheckerrorview.cpp b/src/plugins/valgrind/memcheckerrorview.cpp index b29025e008..c3365105d4 100644 --- a/src/plugins/valgrind/memcheckerrorview.cpp +++ b/src/plugins/valgrind/memcheckerrorview.cpp @@ -154,9 +154,13 @@ static QString errorLocation(const QModelIndex &index, const Error &error, link, linkAttr)); } -QWidget *MemcheckErrorDelegate::createDetailsWidget(const QFont & font, const QModelIndex &errorIndex, QWidget *parent) const +QWidget *MemcheckErrorDelegate::createDetailsWidget(const QFont & font, + const QModelIndex &errorIndex, + QWidget *parent) const { QWidget *widget = new QWidget(parent); + QTC_ASSERT(errorIndex.isValid(), return widget); + QVBoxLayout *layout = new QVBoxLayout; // code + white-space:pre so the padding (see below) works properly // don't include frameName here as it should wrap if required and pre-line is not supported |