forked from qt-creator/qt-creator
Maemo: Use on-demand shared Net7 object.
Task-number: QTCREATORBUG-1073
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include "maemosettingspage.h"
|
||||
#include "maemotoolchain.h"
|
||||
#include "maemorunconfiguration.h"
|
||||
#include "ne7sshobject.h"
|
||||
|
||||
#include <coreplugin/actionmanager/actionmanager.h>
|
||||
#include <coreplugin/coreconstants.h>
|
||||
@@ -85,6 +86,8 @@ MaemoManager::MaemoManager()
|
||||
pluginManager->addObject(m_packageCreationFactory);
|
||||
pluginManager->addObject(m_settingsPage);
|
||||
pluginManager->addObject(m_gdbSettingsPage);
|
||||
|
||||
Ne7SshObject::instance();
|
||||
}
|
||||
|
||||
MaemoManager::~MaemoManager()
|
||||
@@ -97,6 +100,7 @@ MaemoManager::~MaemoManager()
|
||||
pluginManager->removeObject(m_settingsPage);
|
||||
pluginManager->removeObject(m_gdbSettingsPage);
|
||||
|
||||
Ne7SshObject::removeInstance();
|
||||
m_instance = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user