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

List:       kde-commits
Subject:    KDE/kdebindings/qtruby/rubylib/qtruby
From:       Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date:       2007-03-05 19:03:23
Message-ID: 1173121403.107501.32454.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 639700 by rdale:

* Remove superfluous copy of a QModelIndex in Qt::AbstractItemModel.createIndex()



 M  +1 -1      Qt.cpp  


--- trunk/KDE/kdebindings/qtruby/rubylib/qtruby/Qt.cpp #639699:639700
@@ -1536,7 +1536,7 @@
 				smokeruby_object  * result = alloc_smokeruby_object(	true, 
 																		o->smoke, 
 																		o->smoke->idClass("QModelIndex"), 
-																		new QModelIndex(*((QModelIndex*) stack[0].s_voidp)) );
+																		stack[0].s_voidp );
 
 				return set_obj_info("Qt::ModelIndex", result);
 			}
[prev in list] [next in list] [prev in thread] [next in thread] 

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