mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 02:55:45 +00:00
yuzu: Migrate off of setMargin() to setContentsMargins()
setMargin() has been deprecated since Qt 5, and replaced with setContentsMargins(). We can move over to setContentsMargins() to stay forward-compatible with Qt 6.0.
This commit is contained in:
parent
498a2cab8e
commit
1c11424586
2 changed files with 3 additions and 3 deletions
|
@ -119,7 +119,7 @@ void GameListSearchField::setFocus() {
|
|||
GameListSearchField::GameListSearchField(GameList* parent) : QWidget{parent} {
|
||||
auto* const key_release_eater = new KeyReleaseEater(parent, this);
|
||||
layout_filter = new QHBoxLayout;
|
||||
layout_filter->setMargin(8);
|
||||
layout_filter->setContentsMargins(8, 8, 8, 8);
|
||||
label_filter = new QLabel;
|
||||
label_filter->setText(tr("Filter:"));
|
||||
edit_filter = new QLineEdit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue