diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2025-05-26 15:09:37 -0500 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2025-05-26 20:58:48 -0500 |
| commit | aafe961177f252aacbb1b439b89c3590b79cf08b (patch) | |
| tree | dc5df4b52391fec077b9770273c4b05167596327 /Source/Core | |
| parent | eed7843d4a91c9862a3a3c52c8a4319f479e7a25 (diff) | |
DolphinQt: Make GeckoCodeWidget default size not taller than it needs to be.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp index 6b7e487bde..de0f79a904 100644 --- a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp +++ b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp @@ -29,6 +29,7 @@ #include "DolphinQt/Config/HardcoreWarningWidget.h" #include "DolphinQt/QtUtils/ModalMessageBox.h" #include "DolphinQt/QtUtils/NonDefaultQPushButton.h" +#include "DolphinQt/QtUtils/QtUtils.h" #include "DolphinQt/QtUtils/SetWindowDecorations.h" #include "DolphinQt/QtUtils/WrapInScrollArea.h" @@ -74,7 +75,7 @@ void GeckoCodeWidget::CreateWidgets() #ifdef USE_RETRO_ACHIEVEMENTS m_hc_warning = new HardcoreWarningWidget(this); #endif // USE_RETRO_ACHIEVEMENTS - m_code_list = new QListWidget; + m_code_list = new QtUtils::MinimumSizeHintWidget<QListWidget>; m_name_label = new QLabel; m_creator_label = new QLabel; |
