mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
VerticalTabs: Show tooltips for tabs
This commit is contained in:
parent
e9f3679bb1
commit
68c30781bb
@ -114,6 +114,10 @@ bool TabListView::viewportEvent(QEvent *event)
|
||||
QToolTip::showText(he->globalPos(), muted ? tr("Unmute Tab") : tr("Mute Tab"), this, visualRect(index));
|
||||
he->accept();
|
||||
return true;
|
||||
} else if (button == NoButton) {
|
||||
QToolTip::showText(he->globalPos(), index.data().toString(), this, visualRect(index));
|
||||
he->accept();
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -174,6 +174,10 @@ bool TabTreeView::viewportEvent(QEvent *event)
|
||||
QToolTip::showText(he->globalPos(), tr("Close Tab"), this, visualRect(index));
|
||||
he->accept();
|
||||
return true;
|
||||
} else if (button == NoButton) {
|
||||
QToolTip::showText(he->globalPos(), index.data().toString(), this, visualRect(index));
|
||||
he->accept();
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user