Commit 6b358cbe authored by hjk's avatar hjk
Browse files

Android: Copy less configuration data



Change-Id: I8f20addd45fae422f723047689d98e9d903cce6b
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent d007c500
...@@ -1077,7 +1077,7 @@ QStringList AndroidDeviceInfo::adbSelector(const QString &serialNumber) ...@@ -1077,7 +1077,7 @@ QStringList AndroidDeviceInfo::adbSelector(const QString &serialNumber)
return QStringList() << QLatin1String("-s") << serialNumber; return QStringList() << QLatin1String("-s") << serialNumber;
} }
AndroidConfig AndroidConfigurations::currentConfig() const AndroidConfig &AndroidConfigurations::currentConfig()
{ {
return m_instance->m_config; // ensure that m_instance is initialized return m_instance->m_config; // ensure that m_instance is initialized
} }
......
...@@ -173,7 +173,7 @@ class AndroidConfigurations : public QObject ...@@ -173,7 +173,7 @@ class AndroidConfigurations : public QObject
Q_OBJECT Q_OBJECT
public: public:
static AndroidConfig currentConfig(); static const AndroidConfig &currentConfig();
static void setConfig(const AndroidConfig &config); static void setConfig(const AndroidConfig &config);
static AndroidConfigurations *instance(); static AndroidConfigurations *instance();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment