Explorar o código

QList<T> QSet<T>::toList() const [with T = const FSNode*]’ is deprecated: Use values() instead

Donald Carr %!s(int64=5) %!d(string=hai) anos
pai
achega
757112b563
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/picturemodel.cpp

+ 1 - 1
src/picturemodel.cpp

@@ -141,7 +141,7 @@ FSNodeTree::~FSNodeTree()
             node = node->parent;
         }
     }
-    qDeleteAll(nodes.toList());
+    qDeleteAll(nodes.values());
 }
 
 void FSNodeTree::addModelNode(const FSNode* parentNode)