summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews/qitemeditorfactory.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/qitemeditorfactory.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/qitemeditorfactory.h')
-rw-r--r--src/widgets/itemviews/qitemeditorfactory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/itemviews/qitemeditorfactory.h b/src/widgets/itemviews/qitemeditorfactory.h
index aff8de3a4c..8bc1cc7df6 100644
--- a/src/widgets/itemviews/qitemeditorfactory.h
+++ b/src/widgets/itemviews/qitemeditorfactory.h
@@ -69,7 +69,7 @@ template <class T>
class QItemEditorCreator : public QItemEditorCreatorBase
{
public:
- inline QItemEditorCreator(const QByteArray &valuePropertyName);
+ inline explicit QItemEditorCreator(const QByteArray &valuePropertyName);
inline QWidget *createWidget(QWidget *parent) const { return new T(parent); }
inline QByteArray valuePropertyName() const { return propertyName; }