[Ktutorial-commits] SF.net SVN: ktutorial:[323] trunk/ktutorial/ktutorial-editor/src/ targetapplic
Status: Alpha
Brought to you by:
danxuliu
|
From: <dan...@us...> - 2011-06-10 22:20:03
|
Revision: 323
http://ktutorial.svn.sourceforge.net/ktutorial/?rev=323&view=rev
Author: danxuliu
Date: 2011-06-10 22:19:57 +0000 (Fri, 10 Jun 2011)
Log Message:
-----------
Delete the KProcess object when the target application failed to start.
Modified Paths:
--------------
trunk/ktutorial/ktutorial-editor/src/targetapplication/TargetApplication.cpp
Modified: trunk/ktutorial/ktutorial-editor/src/targetapplication/TargetApplication.cpp
===================================================================
--- trunk/ktutorial/ktutorial-editor/src/targetapplication/TargetApplication.cpp 2011-06-10 18:01:50 UTC (rev 322)
+++ trunk/ktutorial/ktutorial-editor/src/targetapplication/TargetApplication.cpp 2011-06-10 22:19:57 UTC (rev 323)
@@ -188,6 +188,9 @@
mKTutorialSupportModuleDiscoveryTimer.stop();
+ mProcess->deleteLater();
+ mProcess = 0;
+
emit startFailed(InvalidPath);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|