From 7756c2768545cd720ca41cc8758dce9ff2bc326e Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 27 Jan 2017 17:05:08 +0100 Subject: [PATCH] use triangular tabs in property view only on Windows --- src/Gui/CombiView.cpp | 1 - src/Gui/PropertyView.cpp | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Gui/CombiView.cpp b/src/Gui/CombiView.cpp index ca840c8ba..a46d10974 100644 --- a/src/Gui/CombiView.cpp +++ b/src/Gui/CombiView.cpp @@ -57,7 +57,6 @@ CombiView::CombiView(Gui::Document* pcDocument, QWidget *parent) tabs = new QTabWidget (); tabs->setObjectName(QString::fromUtf8("combiTab")); tabs->setTabPosition(QTabWidget::North); - //tabs->setTabShape(QTabWidget::Triangular); pLayout->addWidget( tabs, 0, 0 ); // splitter between tree and property view diff --git a/src/Gui/PropertyView.cpp b/src/Gui/PropertyView.cpp index f2ff9b70a..ee984fee7 100644 --- a/src/Gui/PropertyView.cpp +++ b/src/Gui/PropertyView.cpp @@ -70,7 +70,9 @@ 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();