Merge pull request #5754 from lat9nq/fix-disable-boxcat
configure_service: Only compile FormatEventStatusString when YUZU_ENABLE_BOXCAT is enabled
This commit is contained in:
commit
f1b58f0cd9
|
@ -9,6 +9,7 @@
|
||||||
#include "ui_configure_service.h"
|
#include "ui_configure_service.h"
|
||||||
#include "yuzu/configuration/configure_service.h"
|
#include "yuzu/configuration/configure_service.h"
|
||||||
|
|
||||||
|
#ifdef YUZU_ENABLE_BOXCAT
|
||||||
namespace {
|
namespace {
|
||||||
QString FormatEventStatusString(const Service::BCAT::EventStatus& status) {
|
QString FormatEventStatusString(const Service::BCAT::EventStatus& status) {
|
||||||
QString out;
|
QString out;
|
||||||
|
@ -32,6 +33,7 @@ QString FormatEventStatusString(const Service::BCAT::EventStatus& status) {
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
} // Anonymous namespace
|
} // Anonymous namespace
|
||||||
|
#endif
|
||||||
|
|
||||||
ConfigureService::ConfigureService(QWidget* parent)
|
ConfigureService::ConfigureService(QWidget* parent)
|
||||||
: QWidget(parent), ui(std::make_unique<Ui::ConfigureService>()) {
|
: QWidget(parent), ui(std::make_unique<Ui::ConfigureService>()) {
|
||||||
|
|
Reference in New Issue