Don't add SDK change listener in start(), wait until symbianSDKManagerLoaded notification is received.
authortimkelly
Tue, 31 Aug 2010 14:13:15 -0500
changeset 1930 d8b5c1e3a21e
parent 1929 e42423cc31d4
child 1931 d7c1f804f316
child 1933 a77f12f0a631
Don't add SDK change listener in start(), wait until symbianSDKManagerLoaded notification is received.
qt/com.nokia.carbide.cpp.qt.core/src/com/nokia/carbide/cpp/internal/qt/core/QtCorePlugin.java
--- a/qt/com.nokia.carbide.cpp.qt.core/src/com/nokia/carbide/cpp/internal/qt/core/QtCorePlugin.java	Tue Aug 31 10:54:44 2010 -0500
+++ b/qt/com.nokia.carbide.cpp.qt.core/src/com/nokia/carbide/cpp/internal/qt/core/QtCorePlugin.java	Tue Aug 31 14:13:15 2010 -0500
@@ -58,7 +58,6 @@
 	public void start(BundleContext context) throws Exception {
 		super.start(context);
 		plugin = this;
-		SDKCorePlugin.getSDKManager().addInstalledSdkChangeListener(this);
 	}
 
 	/*
@@ -129,7 +128,7 @@
 	 * ISDKManagerLoadedHook extension implementation
 	 */
 	public void symbianSDKManagerLoaded() {
-		scanForQtSDKs();
+		SDKCorePlugin.getSDKManager().addInstalledSdkChangeListener(this);
 	}
 
 	/**