diff options
author | VolcaEM <63682805+VolcaEM@users.noreply.github.com> | 2020-06-25 23:34:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 23:34:37 +0200 |
commit | 0f4512291a0504b32fac248f73a68fec34f657fe (patch) | |
tree | 3c69736a2ac82a9a0076ec3b79673c814e5f1abd /src/yuzu/configuration/configure_service.cpp | |
parent | a46df409397855812812e83ae3ed6ce6261b72cb (diff) | |
parent | a980b4cbc16cf1efad077053e1bf2bbb53c3d60a (diff) |
Merge branch 'master' into quickstart-faq
Diffstat (limited to 'src/yuzu/configuration/configure_service.cpp')
-rw-r--r-- | src/yuzu/configuration/configure_service.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_service.cpp b/src/yuzu/configuration/configure_service.cpp index 06566e981..0de7a4f0b 100644 --- a/src/yuzu/configuration/configure_service.cpp +++ b/src/yuzu/configuration/configure_service.cpp @@ -68,6 +68,7 @@ void ConfigureService::SetConfiguration() { } std::pair<QString, QString> ConfigureService::BCATDownloadEvents() { +#ifdef YUZU_ENABLE_BOXCAT std::optional<std::string> global; std::map<std::string, Service::BCAT::EventStatus> map; const auto res = Service::BCAT::Boxcat::GetStatus(global, map); @@ -105,7 +106,10 @@ std::pair<QString, QString> ConfigureService::BCATDownloadEvents() { .arg(QString::fromStdString(key)) .arg(FormatEventStatusString(value)); } - return {QStringLiteral("Current Boxcat Events"), std::move(out)}; + return {tr("Current Boxcat Events"), std::move(out)}; +#else + return {tr("Current Boxcat Events"), tr("There are currently no events on boxcat.")}; +#endif } void ConfigureService::OnBCATImplChanged() { |