1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

[ComboTabBar] Don't scroll to current tab on window focus change

This commit is contained in:
S. Razi Alavizadeh 2014-01-01 15:15:26 +01:00 committed by nowrep
parent 252c55dd2b
commit 7bd48d6674

View File

@ -764,7 +764,9 @@ void ComboTabBar::setMinimumWidths()
void ComboTabBar::showEvent(QShowEvent* event)
{
if (!event->spontaneous()) {
QTimer::singleShot(0, this, SLOT(setUpLayout()));
}
QWidget::showEvent(event);
}