diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 | ||||
-rw-r--r-- | src/timeline/TimelineModel.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index c90cbc2e..efe9333d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -47,7 +47,7 @@ #ifdef QML_DEBUGGING #include <QQmlDebuggingEnabler> -QQmlDebuggingEnabler enabler; +QQmlTriviallyDestructibleDebuggingEnabler enabler; #endif #if HAVE_BACKTRACE_SYMBOLS_FD diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index a49dde3c..05a3c45c 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -997,6 +997,8 @@ TimelineModel::multiData(const QModelIndex &index, QModelRoleDataSpan roleDataSp return; } + // nhlog::db()->debug("MultiData called for {}", index.row()); + // HACK(Nico): fetchMore likes to break with dynamically sized delegates and reuseItems if (index.row() + 1 == rowCount() && !m_paginationInProgress) const_cast<TimelineModel *>(this)->fetchMore(index); @@ -1025,6 +1027,8 @@ TimelineModel::multiData(const QString &id, return; } + // nhlog::db()->debug("MultiData called for {}", id.toStdString()); + auto event = events.get(id.toStdString(), relatedTo.toStdString()); if (!event) { |