Explorar el Código

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

Donald Carr hace 5 años
padre
commit
757112b563
Se han modificado 1 ficheros con 1 adiciones y 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)