forked from qt-creator/qt-creator
Don't force flat group boxes on options dialog pages
Reviewed-by: Jens Bache-Wiig
This commit is contained in:
@@ -285,10 +285,6 @@ SettingsDialog::SettingsDialog(QWidget *parent, const QString &categoryId,
|
||||
tabWidget->addTab(widget, page->displayName());
|
||||
if (initialCategoryIndex == i && page->id() == initialPage)
|
||||
initialPageIndex = j;
|
||||
|
||||
// A hack to remove the borders from all group boxes
|
||||
foreach (QGroupBox *groupBox, qFindChildren<QGroupBox*>(widget))
|
||||
groupBox->setFlat(true);
|
||||
}
|
||||
|
||||
connect(tabWidget, SIGNAL(currentChanged(int)),
|
||||
|
||||
Reference in New Issue
Block a user