Skip to content
Snippets Groups Projects
Commit 9a98db2c authored by Alexandre Lision's avatar Alexandre Lision
Browse files

fix compilation with clang

Refs #66840
parent 30660f0b
Branches
Tags
No related merge requests found
......@@ -442,7 +442,7 @@ QVariant CategorizedHistoryModel::data( const QModelIndex& idx, int role) const
#if QT_VERSION >= 0x050400
if (parTli->isActive() && !parTli->m_lChildren[idx.row()]->call()->isActive()) {
QTimer::singleShot(0,[this,idx]() {
emit dataChanged(idx,idx);
emit const_cast<CategorizedHistoryModel*>(this)->dataChanged(idx,idx);
});
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment