Revision: 76243
          http://sourceforge.net/p/brlcad/code/76243
Author:   starseeker
Date:     2020-06-30 21:00:30 +0000 (Tue, 30 Jun 2020)
Log Message:
-----------
Sadeep found another use of obsolete Qt method.

Modified Paths:
--------------
    brlcad/trunk/src/qged/cadtreemodel.cpp

Modified: brlcad/trunk/src/qged/cadtreemodel.cpp
===================================================================
--- brlcad/trunk/src/qged/cadtreemodel.cpp      2020-06-30 20:58:11 UTC (rev 
76242)
+++ brlcad/trunk/src/qged/cadtreemodel.cpp      2020-06-30 21:00:30 UTC (rev 
76243)
@@ -800,7 +800,7 @@
     /* TODO - need to actually check whether the child list matches the 
current search results,
      * and clear/rebuild things if there has been a change - the below check 
works only for a
      * static tree */
-    if (cnt && !idx.child(cnt-1, 0).isValid()) {
+    if (cnt) { // TODO - .child is obsolete, need to revisit this test:  && 
!idx.child(cnt-1, 0).isValid()) {
        beginInsertRows(idx, 0, cnt);
        cad_add_children(comb->tree, OP_UNION, curr_node);
        endInsertRows();

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to