add message when commitlist::mousePressevent is called

This commit is contained in:
Martin Marmsoler 2023-02-07 14:07:47 +01:00
parent 47eae81893
commit 83b817e432
4 changed files with 7 additions and 6 deletions

View File

@ -1586,6 +1586,8 @@ void CommitList::mousePressEvent(QMouseEvent *event) {
if (mStar.isValid() || mCancel.isValid())
return;
DebugRefresh("time: " << QDateTime::currentDateTime());
QListView::mousePressEvent(event);
}

View File

@ -386,9 +386,8 @@ void DoubleTreeWidget::setDiff(const git::Diff &diff, const QString &file,
mSetDiffCounter++;
DebugRefresh("DoubleTreeWidget::setDiff: time: "
<< QDateTime::currentDateTime()
<< "Counter: " << mSetDiffCounter);
DebugRefresh("time: " << QDateTime::currentDateTime()
<< "Counter: " << mSetDiffCounter);
mDiff = diff;

View File

@ -2780,8 +2780,8 @@ void RepoView::refresh(bool restoreSelection) {
DebugRefresh("Head name: " << mRepo.head().name());
else
DebugRefresh("Head invalid");
DebugRefresh("RepoView::refresh: time: " << QDateTime::currentDateTime()
<< " Set diff counter: " << counter);
DebugRefresh("time: " << QDateTime::currentDateTime()
<< " Set diff counter: " << counter);
emit mRepo.notifier()->referenceUpdated(mRepo.head(), restoreSelection);
}

View File

@ -23,7 +23,7 @@
#define DebugRefresh(x) \
do { \
qDebug() << Q_FUNC_INFO << x; \
qDebug() << Q_FUNC_INFO << QStringLiteral(": ") << x; \
} while (false)
#else