1
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:
nowrep 2014-01-02 10:48:59 +01:00
parent 58a485fb6d
commit 93927dfa1e

View File

@ -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) {