From 9a98db2ce7beb401eb9334150f696fc2a8a7c1c5 Mon Sep 17 00:00:00 2001
From: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
Date: Mon, 23 Mar 2015 11:59:10 -0400
Subject: [PATCH] fix compilation with clang

Refs #66840
---
 src/categorizedhistorymodel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/categorizedhistorymodel.cpp b/src/categorizedhistorymodel.cpp
index 310e807b..cc6fc866 100644
--- a/src/categorizedhistorymodel.cpp
+++ b/src/categorizedhistorymodel.cpp
@@ -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
-- 
GitLab