Skip to content

Commit

Permalink
[GUI] Remove explicit triangle styling from tabs
Browse files Browse the repository at this point in the history
On Windows the lower tabs of the PropertyView were being set to
triangular, which breaks stylesheets. This removes that code, so they
now take on whatever the standard shape is on the system.

Fixes #4599
  • Loading branch information
chennes authored and wwmayer committed Mar 25, 2021
1 parent 148c528 commit 04cf845
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Gui/PropertyView.cpp
Expand Up @@ -89,9 +89,6 @@ PropertyView::PropertyView(QWidget *parent)
tabs = new QTabWidget (this);
tabs->setObjectName(QString::fromUtf8("propertyTab"));
tabs->setTabPosition(QTabWidget::South);
#if defined(Q_OS_WIN32)
tabs->setTabShape(QTabWidget::Triangular);
#endif
pLayout->addWidget(tabs, 0, 0);

propertyEditorView = new Gui::PropertyEditor::PropertyEditor();
Expand Down

0 comments on commit 04cf845

Please sign in to comment.