summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews/qtreewidget.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-03-06 22:06:30 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-07 11:11:19 +0100
commite1b2755083c8b30d2062108ea490f9c49729cf3b (patch)
treed62f7ec0db66e593a6f2900f72b5c9d1c522ac5e /src/widgets/itemviews/qtreewidget.h
parent676304e706266f09357ad8bfbe6c4c281f3f3873 (diff)
itemview/itemmodels: make some constructors explicit
This is a semi-automatic search, so I'm reasonably sure that all the exported ones have been caught. Change-Id: I38d7978f1fcf7513e802ed0042aa7a57a95b0060 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/widgets/itemviews/qtreewidget.h')
-rw-r--r--src/widgets/itemviews/qtreewidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/itemviews/qtreewidget.h b/src/widgets/itemviews/qtreewidget.h
index c9654d3e8e..c5f1032728 100644
--- a/src/widgets/itemviews/qtreewidget.h
+++ b/src/widgets/itemviews/qtreewidget.h
@@ -69,7 +69,7 @@ class Q_WIDGETS_EXPORT QTreeWidgetItem
public:
enum ItemType { Type = 0, UserType = 1000 };
explicit QTreeWidgetItem(int type = Type);
- QTreeWidgetItem(const QStringList &strings, int type = Type);
+ explicit QTreeWidgetItem(const QStringList &strings, int type = Type);
explicit QTreeWidgetItem(QTreeWidget *view, int type = Type);
QTreeWidgetItem(QTreeWidget *view, const QStringList &strings, int type = Type);
QTreeWidgetItem(QTreeWidget *view, QTreeWidgetItem *after, int type = Type);