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:
@@ -36,8 +36,6 @@ class GitSubmitPanel : public QWidget
|
||||
public:
|
||||
GitSubmitPanel()
|
||||
{
|
||||
resize(364, 269);
|
||||
|
||||
repositoryLabel = new QLabel(Tr::tr("repository"));
|
||||
branchLabel = new QLabel(Tr::tr("branch")); // FIXME: Isn't this overwritten soon?
|
||||
showHeadLabel = new QLabel("<a href=\"head\">" + Tr::tr("Show HEAD") + "</a>");
|
||||
|
||||
Reference in New Issue
Block a user