[Kde-bindings] branches/KDE/3.5/kdebindings/qtruby/rubylib/qtruby

Richard Dale Richard_Dale at tipitina.demon.co.uk
Fri Dec 23 10:40:18 UTC 2005


SVN commit 490825 by rdale:

* Don't delete KCommand classes on garbage collection, as they are owned by a KHistoryCollection.
  May help fix problem reported by Kevin Brown.

CCMAIL: kde-bindings at kde.org



 M  +3 -0      handlers.cpp  


--- branches/KDE/3.5/kdebindings/qtruby/rubylib/qtruby/handlers.cpp #490824:490825
@@ -186,6 +186,9 @@
 	if (	strcmp(className, "QObject") == 0
 			|| strcmp(className, "QListBoxItem") == 0
 			|| strcmp(className, "QStyleSheetItem") == 0
+			|| strcmp(className, "KCommand") == 0
+			|| strcmp(className, "KNamedCommand") == 0
+			|| strcmp(className, "KMacroCommand") == 0
 			|| strcmp(className, "QSqlCursor") == 0 )
 	{
 		// Don't delete instances of these classes for now



More information about the Kde-bindings mailing list