diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-17 10:01:21 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-17 10:52:07 (GMT) |
commit | 213e2c937b667dba7e4996b0857ae5791c6d5fc8 (patch) | |
tree | b8db403c4859966fa7a18fcf413a00cf8e3eecd4 /src/gui/itemviews/qtreewidget.cpp | |
parent | 83940f25dba51a9942ab55ed8475fc7fc8a8da84 (diff) | |
download | Qt-213e2c937b667dba7e4996b0857ae5791c6d5fc8.zip Qt-213e2c937b667dba7e4996b0857ae5791c6d5fc8.tar.gz Qt-213e2c937b667dba7e4996b0857ae5791c6d5fc8.tar.bz2 |
Fixed coverity warnings
Diffstat (limited to 'src/gui/itemviews/qtreewidget.cpp')
-rw-r--r-- | src/gui/itemviews/qtreewidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/itemviews/qtreewidget.cpp b/src/gui/itemviews/qtreewidget.cpp index 025f83c..1ab69df 100644 --- a/src/gui/itemviews/qtreewidget.cpp +++ b/src/gui/itemviews/qtreewidget.cpp @@ -1768,6 +1768,7 @@ QVariant QTreeWidgetItem::data(int column, int role) const // special case for check state in tristate if (children.count() && (itemFlags & Qt::ItemIsTristate)) return childrenCheckState(column); + // fallthrough intended default: if (column >= 0 && column < values.size()) { const QVector<QWidgetItemData> &column_values = values.at(column); |