Commit 795dc8c9 authored by hjk's avatar hjk Committed by hjk
Browse files

remotelinux: don't double-add plugin to object pool



Change-Id: Idf544a69aa13d5fbdaefef1e485824b1d00fd08b
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent 7daa3095
......@@ -73,7 +73,6 @@ bool RemoteLinuxPlugin::initialize(const QStringList &arguments,
LinuxDeviceConfigurations::instance(this);
addObject(this);
addAutoReleasedObject(new LinuxDeviceConfigurationsSettingsPage);
addAutoReleasedObject(new GenericLinuxDeviceConfigurationFactory);
addAutoReleasedObject(new RemoteLinuxRunConfigurationFactory);
......@@ -89,11 +88,6 @@ bool RemoteLinuxPlugin::initialize(const QStringList &arguments,
return true;
}
RemoteLinuxPlugin::~RemoteLinuxPlugin()
{
removeObject(this);
}
void RemoteLinuxPlugin::extensionsInitialized()
{
/*
......
......@@ -44,7 +44,6 @@ class RemoteLinuxPlugin : public ExtensionSystem::IPlugin
public:
RemoteLinuxPlugin();
~RemoteLinuxPlugin();
bool initialize(const QStringList &arguments, QString *errorMessage);
void extensionsInitialized();
......
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