QmlDesigner: Explicit constructors for commands

Change-Id: I3ea3db0d1c1b0fd19b0e89e7e435671f6f5e91af
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Marco Bubke
2013-06-06 16:03:46 +02:00
parent e09902965a
commit 11036e9d52
23 changed files with 23 additions and 23 deletions

View File

@@ -41,7 +41,7 @@ class ChangeNodeSourceCommand
friend QDataStream &operator>>(QDataStream &in, ChangeNodeSourceCommand &command);
public:
ChangeNodeSourceCommand();
ChangeNodeSourceCommand(qint32 instanceId, const QString &nodeSource);
explicit ChangeNodeSourceCommand(qint32 instanceId, const QString &nodeSource);
qint32 instanceId() const;
QString nodeSource() const;