summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/project.h
diff options
context:
space:
mode:
authorPeter Kümmel <syntheticpp@gmx.net>2012-09-24 16:23:13 +0200
committerTobias Hunger <tobias.hunger@digia.com>2012-09-24 16:54:49 +0200
commitf21a408b51c6473414b9733dd0b05715181f0162 (patch)
tree9c121484dd26a53769965867321ab569a9ec0e81 /src/plugins/projectexplorer/project.h
parent3a0798395f3fc6f4a687e87648164f93cf508946 (diff)
downloadqt-creator-f21a408b51c6473414b9733dd0b05715181f0162.tar.gz
Setter: get argument by const reference
Without the const QVariant can't be constructed inline. Change-Id: I80ff9eb677361dca2fd104ef85facf7b69e580d7 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/projectexplorer/project.h')
-rw-r--r--src/plugins/projectexplorer/project.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/project.h b/src/plugins/projectexplorer/project.h
index 70d97260c3..a254d8cea3 100644
--- a/src/plugins/projectexplorer/project.h
+++ b/src/plugins/projectexplorer/project.h
@@ -119,7 +119,7 @@ public:
virtual Core::Context projectLanguage() const;
QVariant namedSettings(const QString &name) const;
- void setNamedSettings(const QString &name, QVariant &value);
+ void setNamedSettings(const QString &name, const QVariant &value);
virtual bool needsConfiguration() const;
virtual void configureAsExampleProject(const QStringList &platforms);