Merging heads RCL_2_4
authorJohn Dean <john.3.dean@nokia.com>
Wed, 17 Feb 2010 12:52:01 -0800
branchRCL_2_4
changeset 978 a514fb7b2032
parent 977 787669693166 (current diff)
parent 976 e3db0fe33733 (diff)
child 982 c848ffa5a500
Merging heads
--- a/qt/com.nokia.carbide.cpp.qt.core/src/com/nokia/carbide/cpp/internal/qt/core/QtSDKUtils.java	Wed Feb 17 12:51:20 2010 -0800
+++ b/qt/com.nokia.carbide.cpp.qt.core/src/com/nokia/carbide/cpp/internal/qt/core/QtSDKUtils.java	Wed Feb 17 12:52:01 2010 -0800
@@ -17,14 +17,17 @@
 import java.util.List;
 
 import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.ResourcesPlugin;
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IStatus;
 import org.eclipse.core.runtime.Path;
 import org.eclipse.core.runtime.QualifiedName;
 import org.eclipse.jface.preference.IPreferenceStore;
 
 import com.nokia.carbide.cpp.sdk.core.ISymbianSDK;
 import com.nokia.cpp.internal.api.utils.core.HostOS;
+import com.nokia.cpp.internal.api.utils.core.Logging;
 import com.trolltech.qtcppproject.QtProjectPlugin;
 import com.trolltech.qtcppproject.preferences.PreferenceConstants;
 
@@ -160,6 +163,11 @@
 			store.setValue(PreferenceConstants.QTVERSION_DEFAULT, count);
 		}
 		
+		ResourcesPlugin.getPlugin().getLog().log(Logging.newStatus(QtCorePlugin.getDefault(), 
+				IStatus.INFO,
+				"New Qt-Symbian SDK added to Qt global preferences: " + name, //$NON-NLS-1$
+				null));
+		
 		store.setValue(PreferenceConstants.QTVERSION_COUNT, count + 1); // # of table items, base is 1 (i.e. not zero)
 		
 		refreshQtStoredSDKs();