forked from qt-creator/qt-creator
Fix BlackBerryConfigurationManager singleton
The usage of a static variable instead of a pointer guarantees it will be constructed and destructed only once. Change-Id: I7f587ec131b43fe5685122e9a384f1871dcdf790 Reviewed-by: Mehdi Fekari <mfekari@blackberry.com> Reviewed-by: David Kaspar <dkaspar@blackberry.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
834c89329f
commit
5ee3d2da97
@@ -73,7 +73,6 @@ QNXPlugin::QNXPlugin()
|
||||
QNXPlugin::~QNXPlugin()
|
||||
{
|
||||
delete BlackBerryDeviceConnectionManager::instance();
|
||||
delete &BlackBerryConfigurationManager::instance();
|
||||
}
|
||||
|
||||
bool QNXPlugin::initialize(const QStringList &arguments, QString *errorString)
|
||||
|
||||
Reference in New Issue
Block a user