summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/id.h
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-11-10 11:36:51 +0100
committerhjk <qthjk@ovi.com>2011-11-10 15:57:09 +0100
commit82f5573626c8e952653c091eceed21ff23677834 (patch)
treeb4c884f581be2686495418c950c02c4fc3d09740 /src/plugins/coreplugin/id.h
parentcfc9b71ecb4b5f0d630996d4e60aea04cd8d5aad (diff)
downloadqt-creator-82f5573626c8e952653c091eceed21ff23677834.tar.gz
more Id type fixes
Change-Id: I3720946ba5485696822976567d83b4d6cb1fb283 x Change-Id: Iab58bc34bc56371405d132315573b484a533b77c Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/coreplugin/id.h')
-rw-r--r--src/plugins/coreplugin/id.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/coreplugin/id.h b/src/plugins/coreplugin/id.h
index 9721668695..d044cb3c74 100644
--- a/src/plugins/coreplugin/id.h
+++ b/src/plugins/coreplugin/id.h
@@ -47,7 +47,7 @@ public:
Id() : m_id(0) {}
Id(const char *name);
// FIXME: Replace with QByteArray
- Id(const QString &name);
+ explicit Id(const QString &name);
QByteArray name() const;
QString toString() const;
bool isValid() const { return m_id; }
@@ -67,6 +67,6 @@ CORE_EXPORT inline uint qHash(const Id &id) { return id.uniqueIdentifier(); }
} // namespace Core
-Q_DECLARE_METATYPE(Core::Id);
+Q_DECLARE_METATYPE(Core::Id)
#endif // CORE_ID_H