mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-19 10:43:33 +00:00
fix: Compiling for CachyOS
- Made CreateScrollArea function static to limit its linkage to the current translation unit. Signed-off-by: Boss.sfc <boss.sfc@citron-emu.org>
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
#include "citron/uisettings.h"
|
||||
|
||||
// Helper function to create a scroll area for a widget
|
||||
QScrollArea* CreateScrollArea(QWidget* widget) {
|
||||
static QScrollArea* CreateScrollArea(QWidget* widget) {
|
||||
auto* scroll_area = new QScrollArea();
|
||||
scroll_area->setWidget(widget);
|
||||
scroll_area->setWidgetResizable(true);
|
||||
|
||||
Reference in New Issue
Block a user