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

Richard Dale Richard_Dale at tipitina.demon.co.uk
Tue Jan 31 09:57:33 UTC 2006


SVN commit 504061 by rdale:

* Don't delete KAboutData or KCmdLineArgs instances as they need to last for
  the lifetime of the program. Fixes problem reported by Han Holl.

CCMAIL: kde-bindings at kde.org



 M  +2 -0      handlers.cpp  


--- branches/KDE/3.5/kdebindings/qtruby/rubylib/qtruby/handlers.cpp #504060:504061
@@ -189,6 +189,8 @@
 			|| strcmp(className, "KCommand") == 0
 			|| strcmp(className, "KNamedCommand") == 0
 			|| strcmp(className, "KMacroCommand") == 0
+			|| strcmp(className, "KAboutData") == 0
+			|| strcmp(className, "KCmdLineArgs") == 0
 			|| strcmp(className, "QSqlCursor") == 0 )
 	{
 		// Don't delete instances of these classes for now



More information about the Kde-bindings mailing list