mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
[TabPreviews] Do not show tab previews when they are disabled in prefences
This commit is contained in:
parent
58a485fb6d
commit
93927dfa1e
|
@ -492,6 +492,10 @@ void TabBar::restoreTabTextColor(int index)
|
|||
|
||||
void TabBar::showTabPreview(bool delayed)
|
||||
{
|
||||
if (!m_showTabPreviews) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (delayed) {
|
||||
int index = tabAt(mapFromGlobal(QCursor::pos()));
|
||||
if (index == -1 || QApplication::mouseButtons() != Qt::NoButton) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user