Dock widget minor style issues

This commit is contained in:
Klaus Basan
2020-02-09 15:14:59 +01:00
committed by Mat Sutcliffe
parent 62e74092ba
commit 4183a67e1f
2 changed files with 11 additions and 8 deletions

View File

@@ -167,7 +167,7 @@ namespace BlackGui
// tab bar position
menu->addAction(CIcons::dockBottom16(), "Toggle tabbar position", this, &CInfoArea::toggleTabBarPosition);
Q_UNUSED(c);
Q_UNUSED(c)
}
}
@@ -309,7 +309,7 @@ namespace BlackGui
void CInfoArea::paintEvent(QPaintEvent *event)
{
CStyleSheetUtility::useStyleSheetInDerivedWidget(this, QStyle::PE_FrameWindow);
Q_UNUSED(event);
Q_UNUSED(event)
}
void CInfoArea::keyPressEvent(QKeyEvent *event)
@@ -805,7 +805,7 @@ namespace BlackGui
void CInfoArea::onWidgetTopLevelChanged(CDockWidget *dockWidget, bool topLevel)
{
Q_ASSERT(dockWidget);
Q_UNUSED(topLevel);
Q_UNUSED(topLevel)
if (!dockWidget) { return; }
// fix pixmaps
@@ -841,7 +841,7 @@ namespace BlackGui
this->addToContextMenu(contextMenu.data());
QAction *selectedItem = contextMenu.data()->exec(globalPos);
Q_UNUSED(selectedItem);
Q_UNUSED(selectedItem)
}
void CInfoArea::showTabTexts(bool show)