[Ktutorial-commits] SF.net SVN: ktutorial:[138] trunk/ktutorial/ktutorial-editor/src/view
Status: Alpha
Brought to you by:
danxuliu
|
From: <dan...@us...> - 2010-03-09 20:07:50
|
Revision: 138
http://ktutorial.svn.sourceforge.net/ktutorial/?rev=138&view=rev
Author: danxuliu
Date: 2010-03-09 20:07:44 +0000 (Tue, 09 Mar 2010)
Log Message:
-----------
Fix Krazy2 null string assignment issue.
Modified Paths:
--------------
trunk/ktutorial/ktutorial-editor/src/view/StepTreeItem.cpp
trunk/ktutorial/ktutorial-editor/src/view/TutorialTreeItem.cpp
Modified: trunk/ktutorial/ktutorial-editor/src/view/StepTreeItem.cpp
===================================================================
--- trunk/ktutorial/ktutorial-editor/src/view/StepTreeItem.cpp 2010-03-09 20:04:23 UTC (rev 137)
+++ trunk/ktutorial/ktutorial-editor/src/view/StepTreeItem.cpp 2010-03-09 20:07:44 UTC (rev 138)
@@ -59,7 +59,7 @@
if (step->id().isEmpty()) {
if (!mStepId.isEmpty()) {
- mStepId = QString();
+ mStepId.clear();
emit dataChanged(this);
}
} else {
Modified: trunk/ktutorial/ktutorial-editor/src/view/TutorialTreeItem.cpp
===================================================================
--- trunk/ktutorial/ktutorial-editor/src/view/TutorialTreeItem.cpp 2010-03-09 20:04:23 UTC (rev 137)
+++ trunk/ktutorial/ktutorial-editor/src/view/TutorialTreeItem.cpp 2010-03-09 20:07:44 UTC (rev 138)
@@ -79,7 +79,7 @@
TreeItemUtil::removeFlatItemIfNeeded(mNameItem);
if (!mTutorialId.isEmpty()) {
- mTutorialId = QString();
+ mTutorialId.clear();
emit dataChanged(this);
}
} else {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|