diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-14 12:35:44 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-14 12:35:44 (GMT) |
commit | 05145be7e502d4330ced88d3e55207a99c0a841b (patch) | |
tree | 41a76a506b286cc1c0a6bbf317c89879be7a5079 /src/gui/styles | |
parent | b770651f19741907cd415ea9ad6e087cb32cc948 (diff) | |
download | Qt-05145be7e502d4330ced88d3e55207a99c0a841b.zip Qt-05145be7e502d4330ced88d3e55207a99c0a841b.tar.gz Qt-05145be7e502d4330ced88d3e55207a99c0a841b.tar.bz2 |
Fixed coverity warnings
Some dead code removed
Some member not initialized missing
Diffstat (limited to 'src/gui/styles')
-rw-r--r-- | src/gui/styles/qstyleoption.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/styles/qstyleoption.cpp b/src/gui/styles/qstyleoption.cpp index 38abd95..98996e2 100644 --- a/src/gui/styles/qstyleoption.cpp +++ b/src/gui/styles/qstyleoption.cpp @@ -954,7 +954,7 @@ QStyleOptionViewItemV2 &QStyleOptionViewItemV2::operator=(const QStyleOptionView Constructs a QStyleOptionViewItemV3 object. */ QStyleOptionViewItemV3::QStyleOptionViewItemV3() - : QStyleOptionViewItemV2(Version) + : QStyleOptionViewItemV2(Version), widget(0) { } @@ -962,7 +962,7 @@ QStyleOptionViewItemV3::QStyleOptionViewItemV3() Constructs a copy of \a other. */ QStyleOptionViewItemV3::QStyleOptionViewItemV3(const QStyleOptionViewItem &other) - : QStyleOptionViewItemV2(Version) + : QStyleOptionViewItemV2(Version), widget(0) { (void)QStyleOptionViewItemV3::operator=(other); } @@ -991,7 +991,7 @@ QStyleOptionViewItemV3 &QStyleOptionViewItemV3::operator = (const QStyleOptionVi \internal */ QStyleOptionViewItemV3::QStyleOptionViewItemV3(int version) - : QStyleOptionViewItemV2(version) + : QStyleOptionViewItemV2(version), widget(0) { } |