Revert "Show tooltips in the sidebar only in Tabs and IconsOnly modes"
This reverts commit 2dd2b615efe56ae5286538a2769bf7a1ca45335a.
This commit is contained in:
parent
9fe3635da6
commit
2081c30893
@ -710,10 +710,7 @@ void FancyTabWidget::MakeTabBar(QTabBar::Shape shape, bool text, bool icons,
|
||||
else if (text)
|
||||
tab_id = bar->addTab(label);
|
||||
|
||||
// Adds tooltips only in Tabs mode or IconOnlyTabs mode
|
||||
// TODO in tab mode, show only if not elided, complicated since this doesn't inherit from QTabWidget
|
||||
if (shape == QTabBar::RoundedNorth && ((!text && icons) || (text && !icons)))
|
||||
bar->setTabToolTip(tab_id, item.tab_label_);
|
||||
bar->setTabToolTip(tab_id, item.tab_label_);
|
||||
}
|
||||
|
||||
bar->setCurrentIndex(stack_->currentIndex());
|
||||
|
Loading…
x
Reference in New Issue
Block a user