[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/karbon
From:       Jan Hambrecht <jaham () gmx ! net>
Date:       2006-07-31 22:01:31
Message-ID: 1154383291.243189.23690.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 568357 by jaham:

ported purging command history



 M  +1 -6      karbon_view.cc  


--- trunk/koffice/karbon/karbon_view.cc #568356:568357
@@ -634,12 +634,7 @@
 			KStdGuiItem::del(),
 			"edit_purge_history" ) )
 	{
-		// Use the VCleanUp command to remove "deleted"
-		// objects from all layers.
-		VCleanUpCmd cmd( &part()->document() );
-		cmd.execute();
-
-		part()->clearHistory();
+		part()->commandHistory()->clear();
 	}
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic