Fix code style and errors

This commit is contained in:
Jonas Kvinge
2019-04-08 18:46:11 +02:00
parent 0ce5b50950
commit 9be161d165
58 changed files with 146 additions and 146 deletions

View File

@@ -420,7 +420,7 @@ void FancyTabWidget::paintEvent(QPaintEvent *pe) {
QColor baseColor = StyleHelper::baseColor();
QRect backgroundRect = rect();
backgroundRect.setWidth(((FancyTabBar*)tabBar())->width());
backgroundRect.setWidth(tabBar()->width());
p.fillRect(backgroundRect, baseColor);
// Horizontal gradient over the sidebar from transparent to dark