summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2013-11-13 11:52:44 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-16 16:39:38 +0100
commit8cbea7a886e336bca6e17f5cb8404a91cbec9fda (patch)
treec54a5e939c9fdb0f4bf568b4eb6e4982548289b8
parentbe405c86f8efac7c6bc8b749725d6d0e0499314d (diff)
QFileSelector: mark ctor explicit
This is standard for (QObject*) ctors. Change-Id: I4756ba50b1f3148d72e95e581d52a37ebd47a7ae Reviewed-by: John Layt <jlayt@kde.org> Reviewed-by: Alan Alpert <aalpert@blackberry.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
-rw-r--r--src/corelib/io/qfileselector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qfileselector.h b/src/corelib/io/qfileselector.h
index 9afd985757..cb5f71faae 100644
--- a/src/corelib/io/qfileselector.h
+++ b/src/corelib/io/qfileselector.h
@@ -52,7 +52,7 @@ class Q_CORE_EXPORT QFileSelector : public QObject
{
Q_OBJECT
public:
- QFileSelector(QObject *parent = 0);
+ explicit QFileSelector(QObject *parent = 0);
~QFileSelector();
QString select(const QString &filePath) const;