diff --git a/src/plugins/projectexplorer/projectconfiguration.h b/src/plugins/projectexplorer/projectconfiguration.h index 0cfa99d6de7bf4bcef994720d2b777f5ec6ee9d9..cffcb1f58eda7c7727d50328521a5436be5f9882 100644 --- a/src/plugins/projectexplorer/projectconfiguration.h +++ b/src/plugins/projectexplorer/projectconfiguration.h @@ -57,7 +57,10 @@ public: void setDisplayName(const QString &name); void setDefaultDisplayName(const QString &name); - // Note: Make sure subclasses call the superclasses toMap() method! + // Note: Make sure subclasses call the superclasses' fromMap() method! + virtual bool fromMap(const QVariantMap &map); + + // Note: Make sure subclasses call the superclasses' toMap() method! virtual QVariantMap toMap() const; signals: @@ -67,9 +70,6 @@ protected: ProjectConfiguration(QObject *parent, const QString &id); ProjectConfiguration(QObject *parent, const ProjectConfiguration *source); - // Note: Make sure subclasses call the superclasses toMap() method! - virtual bool fromMap(const QVariantMap &map); - private: Q_DISABLE_COPY(ProjectConfiguration)