mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-11-03 21:24:30 +03:00
add message when commitlist::mousePressevent is called
This commit is contained in:
parent
47eae81893
commit
83b817e432
@ -1586,6 +1586,8 @@ void CommitList::mousePressEvent(QMouseEvent *event) {
|
||||
if (mStar.isValid() || mCancel.isValid())
|
||||
return;
|
||||
|
||||
DebugRefresh("time: " << QDateTime::currentDateTime());
|
||||
|
||||
QListView::mousePressEvent(event);
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#define DebugRefresh(x) \
|
||||
do { \
|
||||
qDebug() << Q_FUNC_INFO << x; \
|
||||
qDebug() << Q_FUNC_INFO << QStringLiteral(": ") << x; \
|
||||
} while (false)
|
||||
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user