Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit df57aa8

Browse files
committedMar 21, 2025·
Clarify "Filter In On Thread #%1 By Time"
by renaming it to "Filter By Time Of Thread #%1" and adding a tooltip
1 parent 0d216a5 commit df57aa8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎src/models/timelinedelegate.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -489,11 +489,12 @@ bool TimeLineDelegate::eventFilter(QObject* watched, QEvent* event)
489489
if (isRightButtonEvent && index.isValid() && numThreads > 1 && threadId != Data::INVALID_TID) {
490490
if ((!isFiltered && !isMainThread)
491491
|| (isFiltered && filter.time.end != threadStartTime && filter.time.end != threadEndTime)) {
492-
contextMenu->addAction(QIcon::fromTheme(QStringLiteral("kt-add-filters")),
493-
tr("Filter In On Thread #%1 By Time").arg(threadId), this,
492+
auto action = contextMenu->addAction(QIcon::fromTheme(QStringLiteral("kt-add-filters")),
493+
tr("Filter By Time Of Thread #%1").arg(threadId), this,
494494
[this, threadStartTime, threadEndTime]() {
495495
m_filterAndZoomStack->filterInByTime({threadStartTime, threadEndTime});
496496
});
497+
action->setToolTip(tr("Filter by time, from the start to the end of this thread. All other threads will still be visible."));
497498
}
498499
if ((!isFiltered || filter.threadId == Data::INVALID_TID)) {
499500
contextMenu->addAction(QIcon::fromTheme(QStringLiteral("kt-add-filters")),

0 commit comments

Comments
 (0)