diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2023-05-05 12:33:31 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2023-05-10 11:14:10 +0000 |
commit | 9c31267e58625ba804379e32a167985f1ed00763 (patch) | |
tree | 01a68b4820ae9f3e780acbce6935faf3051aabb9 /src/plugins/git/gitsubmiteditorwidget.cpp | |
parent | 2196e082958c97e4a39be93b3b12c237bf792cb2 (diff) |
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>
Diffstat (limited to 'src/plugins/git/gitsubmiteditorwidget.cpp')
-rw-r--r-- | src/plugins/git/gitsubmiteditorwidget.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/git/gitsubmiteditorwidget.cpp b/src/plugins/git/gitsubmiteditorwidget.cpp index 946fc6f77c..ec09437e26 100644 --- a/src/plugins/git/gitsubmiteditorwidget.cpp +++ b/src/plugins/git/gitsubmiteditorwidget.cpp @@ -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>"); |