Added CSS styling for AutoHideTab that is iconOnly
This commit is contained in:
@@ -99,7 +99,6 @@ void AutoHideTabPrivate::updateOrientation()
|
||||
{
|
||||
_this->setText("");
|
||||
_this->setOrientation(Qt::Horizontal);
|
||||
_this->updateStyle();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -249,4 +248,11 @@ void CAutoHideTab::mousePressEvent(QMouseEvent* event)
|
||||
Super::mousePressEvent(event);
|
||||
}
|
||||
|
||||
|
||||
//============================================================================
|
||||
bool CAutoHideTab::iconOnly() const
|
||||
{
|
||||
return CDockManager::testAutoHideConfigFlag(CDockManager::AutoHideSideBarsIconOnly) && !icon().isNull();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user