summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-01-13 13:20:20 +0100
committerLioncash <mathew1800@gmail.com>2021-01-13 13:29:59 +0100
commit0d7de7c2db27a3763ae3c2654928a3afc90e0b2b (patch)
tree3c0c193979733579dc2de046282b9d635ea0011f
parentMerge pull request #5333 from lioncash/define (diff)
downloadyuzu-0d7de7c2db27a3763ae3c2654928a3afc90e0b2b.tar
yuzu-0d7de7c2db27a3763ae3c2654928a3afc90e0b2b.tar.gz
yuzu-0d7de7c2db27a3763ae3c2654928a3afc90e0b2b.tar.bz2
yuzu-0d7de7c2db27a3763ae3c2654928a3afc90e0b2b.tar.lz
yuzu-0d7de7c2db27a3763ae3c2654928a3afc90e0b2b.tar.xz
yuzu-0d7de7c2db27a3763ae3c2654928a3afc90e0b2b.tar.zst
yuzu-0d7de7c2db27a3763ae3c2654928a3afc90e0b2b.zip
-rw-r--r--src/yuzu/bootmanager.cpp4
-rw-r--r--src/yuzu/game_list.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index 85ee2577d..e6c8f18af 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -290,8 +290,8 @@ GRenderWindow::GRenderWindow(GMainWindow* parent, EmuThread* emu_thread_,
QString::fromUtf8(Common::g_scm_branch),
QString::fromUtf8(Common::g_scm_desc)));
setAttribute(Qt::WA_AcceptTouchEvents);
- auto layout = new QHBoxLayout(this);
- layout->setMargin(0);
+ auto* layout = new QHBoxLayout(this);
+ layout->setContentsMargins(0, 0, 0, 0);
setLayout(layout);
input_subsystem->Initialize();
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp
index 70d865112..37b0d1a0e 100644
--- a/src/yuzu/game_list.cpp
+++ b/src/yuzu/game_list.cpp
@@ -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;