Skip to content

Fix QLayout warnings at startup - #1257

Merged
HenriWahl merged 1 commit into
HenriWahl:masterfrom
McA:fix-layout-warnings
Oct 20, 2026
Merged

HenriWahl merged 1 commit into
HenriWahl:masterfrom
McA:fix-layout-warnings

Conversation

@McA

@McA McA commented Oct 20, 2026

Copy link
Copy Markdown
Contributor
  • do not pass the statuswindow as parent to the layouts of ServerVBox, its header and StatusBar - Qt only warns and drops the parent again because the statuswindow already has a layout
  • remove the second addLayout() in create_server_vboxes() as create_server_vbox() already adds the vbox

- do not pass the statuswindow as parent to the layouts of ServerVBox,
  its header and StatusBar - Qt only warns and drops the parent again
  because the statuswindow already has a layout
- remove the second addLayout() in create_server_vboxes() as
  create_server_vbox() already adds the vbox
@HenriWahl
HenriWahl merged commit fa60624 into HenriWahl:master Oct 20, 2026
1 check passed
@HenriWahl

Copy link
Copy Markdown
Owner

Thanks McA! Missing the silly error already...

@McA

McA commented Oct 21, 2026 via email

Copy link
Copy Markdown
Contributor Author

HenriWahl pushed a commit that referenced this pull request Oct 25, 2026
- do not pass the statuswindow as parent to the layouts of ServerVBox,
  its header and StatusBar - Qt only warns and drops the parent again
  because the statuswindow already has a layout
- remove the second addLayout() in create_server_vboxes() as
  create_server_vbox() already adds the vbox

Co-authored-by: Andreas Mock <4147081+McA@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants