From 61fc11b9c0c78648a069f31c579e95630e06efab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= Date: Wed, 25 May 2011 16:34:59 +0200 Subject: [PATCH] Fixed missing border for tab widget in Projects mode Usually for tab widgets we disabled the border of the first tab, since the tabs are generally aligned to the single pixel black splitters that we used in Creator (like in the case of dock widgets or application output). Since this particular tab widget is not aligned to such a splitter, it should have its own border which can be achieved by disabling the custom style on it. Change-Id: I8c7af60847afb5cd73ecd8c39a834ed63298ec76 Reviewed-on: http://codereview.qt.nokia.com/122 Reviewed-by: Jens Bache-Wiig --- src/plugins/cpptools/cppcodestylesettingspage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/cpptools/cppcodestylesettingspage.cpp b/src/plugins/cpptools/cppcodestylesettingspage.cpp index a9da3c0981e..68787669400 100644 --- a/src/plugins/cpptools/cppcodestylesettingspage.cpp +++ b/src/plugins/cpptools/cppcodestylesettingspage.cpp @@ -182,6 +182,7 @@ CppCodeStylePreferencesWidget::CppCodeStylePreferencesWidget(QWidget *parent) m_ui(new Ui::CppCodeStyleSettingsPage) { m_ui->setupUi(this); + m_ui->categoryTab->setProperty("_q_custom_style_disabled", true); m_previews << m_ui->previewTextEditGeneral << m_ui->previewTextEditContent << m_ui->previewTextEditBraces << m_ui->previewTextEditSwitch