mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-26 09:06:45 +00:00
[desktop] fix random qt annoyances (#226)
Removes that silly QLayout message and improves consistency thereof for other QLayouts Still work to be done but this is all that's needed rn Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/226 Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
This commit is contained in:
@@ -418,7 +418,7 @@ bool ConfigureProfileManager::LoadAvatarData() {
|
||||
ConfigureProfileManagerAvatarDialog::ConfigureProfileManagerAvatarDialog(QWidget* parent)
|
||||
: QDialog{parent}, avatar_list{new QListWidget(this)}, bg_color_button{new QPushButton(this)} {
|
||||
auto* main_layout = new QVBoxLayout(this);
|
||||
auto* button_layout = new QHBoxLayout(this);
|
||||
auto* button_layout = new QHBoxLayout();
|
||||
auto* select_button = new QPushButton(tr("Select"), this);
|
||||
auto* cancel_button = new QPushButton(tr("Cancel"), this);
|
||||
auto* bg_color_label = new QLabel(tr("Background Color"), this);
|
||||
@@ -442,7 +442,6 @@ ConfigureProfileManagerAvatarDialog::ConfigureProfileManagerAvatarDialog(QWidget
|
||||
button_layout->addWidget(select_button);
|
||||
button_layout->addWidget(cancel_button);
|
||||
|
||||
this->setLayout(main_layout);
|
||||
this->setWindowTitle(tr("Select Firmware Avatar"));
|
||||
main_layout->addWidget(avatar_list);
|
||||
main_layout->addLayout(button_layout);
|
||||
@@ -654,4 +653,4 @@ std::vector<uint8_t> ConfigureProfileManager::DecompressYaz0(const FileSys::Virt
|
||||
}
|
||||
|
||||
return output;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user