summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qitemselectionmodel_p.h
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-08-14 12:35:44 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-08-14 12:35:44 (GMT)
commit05145be7e502d4330ced88d3e55207a99c0a841b (patch)
tree41a76a506b286cc1c0a6bbf317c89879be7a5079 /src/gui/itemviews/qitemselectionmodel_p.h
parentb770651f19741907cd415ea9ad6e087cb32cc948 (diff)
downloadQt-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/itemviews/qitemselectionmodel_p.h')
-rw-r--r--src/gui/itemviews/qitemselectionmodel_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itemviews/qitemselectionmodel_p.h b/src/gui/itemviews/qitemselectionmodel_p.h
index 6e1046c..e9e6bb1 100644
--- a/src/gui/itemviews/qitemselectionmodel_p.h
+++ b/src/gui/itemviews/qitemselectionmodel_p.h
@@ -65,7 +65,7 @@ public:
QItemSelectionModelPrivate()
: model(0),
currentCommand(QItemSelectionModel::NoUpdate),
- tableSelected(false) {}
+ tableSelected(false), tableColCount(0), tableRowCount(0) {}
QItemSelection expandSelection(const QItemSelection &selection,
QItemSelectionModel::SelectionFlags command) const;