From 1edf045a0e5bba46cf6b9e0b2d23bfa2808387ad Mon Sep 17 00:00:00 2001
From: Christian Kandeler <christian.kandeler@nokia.com>
Date: Tue, 6 Sep 2011 16:15:58 +0200
Subject: [PATCH] ProjectExplorer: Make RunConfiguration::fromMap() public.

Callers might want to use it polymorphically, e.g. in the restore()
method of a factory that can create more than run configuration.

Change-Id: I773f7b5d75fb6f9ad007cdafc0cf0b56e5f8da8b
Reviewed-on: http://codereview.qt.nokia.com/4266
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
---
 src/plugins/projectexplorer/runconfiguration.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/plugins/projectexplorer/runconfiguration.h b/src/plugins/projectexplorer/runconfiguration.h
index 4c963a599e4..7d9688f6ee3 100644
--- a/src/plugins/projectexplorer/runconfiguration.h
+++ b/src/plugins/projectexplorer/runconfiguration.h
@@ -99,6 +99,7 @@ public:
     uint qmlDebugServerPort() const;
     void setQmlDebugServerPort(uint port);
 
+    virtual bool fromMap(const QVariantMap &map);
     virtual QVariantMap toMap() const;
 
     QList<IRunConfigurationAspect *> extraAspects() const;
@@ -128,8 +129,6 @@ protected:
     /// convenience method to get current build configuration.
     BuildConfiguration *activeBuildConfiguration() const;
 
-    virtual bool fromMap(const QVariantMap &map);
-
 private:
     void addExtraAspects();
 
-- 
GitLab