forked from qt-creator/qt-creator
Remove ineffective resize() calls
This removes apparently unnecessary resize() calls on QWidgets based forms which get anyways added to layouts and resized. Most of these size values looked "accidental", i.e. neither divisible by 2 nor by 5, in most cases a remnant from the ui inlining. Change-Id: I95da3b93f2915ef955b5235e5c2ecc94b51f813a Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -31,8 +31,6 @@ ClangFormatGlobalConfigWidget::ClangFormatGlobalConfigWidget(
|
||||
, m_project(project)
|
||||
, m_codeStyle(codeStyle)
|
||||
{
|
||||
resize(489, 305);
|
||||
|
||||
m_projectHasClangFormat = new QLabel(this);
|
||||
m_formattingModeLabel = new QLabel(Tr::tr("Formatting mode:"));
|
||||
m_indentingOrFormatting = new QComboBox(this);
|
||||
|
||||
Reference in New Issue
Block a user