Removed special case handling for config savegame

This commit is contained in:
Pengfei
2021-08-25 21:56:39 +08:00
parent 6cadb86071
commit ef3063c7ab
4 changed files with 14 additions and 56 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
// content type, singular name, plural name, icon name
// clang-format off
static constexpr std::array<std::tuple<Core::ContentType, const char*, const char*, const char*>, 9>
static constexpr std::array<std::tuple<Core::ContentType, const char*, const char*, const char*>, 8>
ContentTypeMap{{
{Core::ContentType::Application, QT_TR_NOOP("Application"), QT_TR_NOOP("Applications"), "app"},
{Core::ContentType::Update, QT_TR_NOOP("Update"), QT_TR_NOOP("Updates"), "update"},
+1 -2
View File
@@ -39,8 +39,7 @@ bool IsConfigGood(const Core::Config& config) {
bool IsConfigComplete(const Core::Config& config) {
return IsConfigGood(config) && !config.certs_db_path.empty() &&
!config.nand_title_db_path.empty() && !config.ticket_db_path.empty() &&
!config.config_savegame_path.empty() && !config.system_titles_path.empty() &&
!config.nand_data_path.empty();
!config.system_titles_path.empty() && !config.nand_data_path.empty();
}
MainDialog::MainDialog(QWidget* parent)