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

List:       kde-commits
Subject:    branches/KDE/3.5/kdebindings/qtruby/rubylib/qtruby
From:       Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date:       2005-12-23 10:40:18
Message-ID: 1135334418.446330.20944.nullmailer () svn ! kde ! org
[Download RAW message or body]

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@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
[prev in list] [next in list] [prev in thread] [next in thread] 

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