mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-21 15:28:19 +00:00
[qt_common] reorg + checkstate abstraction (#2735)
no diff. in functionality, just confirm builds on ubuntu 24.04/debian 12 Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2735
This commit is contained in:
@@ -45,7 +45,8 @@
|
||||
#include "common/logging/log.h"
|
||||
#include "common/settings.h"
|
||||
#include "common/settings_common.h"
|
||||
#include "qt_common/shared_translation.h"
|
||||
#include "qt_common/qt_compat.h"
|
||||
#include "qt_common/config/shared_translation.h"
|
||||
|
||||
namespace ConfigurationShared {
|
||||
|
||||
@@ -700,7 +701,7 @@ void Widget::SetupComponent(const QString& label, std::function<void()>& load_fu
|
||||
restore_func();
|
||||
}
|
||||
};
|
||||
connect(checkbox, &QCheckBox::stateChanged, reset);
|
||||
connect(checkbox, &QCheckBox::STATE_CHANGED, reset);
|
||||
reset(checkbox->checkState());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user