fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
@@ -9,6 +9,7 @@
|
||||
*/
|
||||
|
||||
#include "topic_tree_model.h"
|
||||
#include <utility>
|
||||
#include <QtCore/QBuffer>
|
||||
#include <QtCore/QDataStream>
|
||||
#include <QtCore/QDateTime>
|
||||
@@ -100,7 +101,7 @@ void TopicDataModel::reset()
|
||||
|
||||
void TopicDataModel::cleanupModelIndexes()
|
||||
{
|
||||
for (const QModelIndex &idx : qAsConst(m_pathInformations))
|
||||
for (const QModelIndex &idx : std::as_const(m_pathInformations))
|
||||
{
|
||||
IndexData *id = static_cast<IndexData *>(idx.internalPointer());
|
||||
delete id;
|
||||
|
||||
Reference in new issue
Block a user