diff --git a/es-app/src/guis/GuiThemeDownloader.cpp b/es-app/src/guis/GuiThemeDownloader.cpp index af6862fcb..cc58ff8bd 100644 --- a/es-app/src/guis/GuiThemeDownloader.cpp +++ b/es-app/src/guis/GuiThemeDownloader.cpp @@ -21,7 +21,7 @@ GuiThemeDownloader::GuiThemeDownloader() : mRenderer {Renderer::getInstance()} , mBackground {":/graphics/frame.svg"} , mGrid {glm::ivec2 {3, 3}} - , mRepositoryError {RepositoryError::NO_ERROR} + , mRepositoryError {RepositoryError::NO_REPO_ERROR} , mFetching {false} , mLatestThemesList {false} { @@ -81,7 +81,7 @@ bool GuiThemeDownloader::fetchRepository(std::pair rep mRepositoryName = repoInfo.first; mUrl = repoInfo.second; mPath = Utils::FileSystem::getHomePath() + "/.emulationstation/themes/" + mRepositoryName; - mRepositoryError = RepositoryError::NO_ERROR; + mRepositoryError = RepositoryError::NO_REPO_ERROR; mErrorMessage = ""; mManualPathSuffix = ""; @@ -533,7 +533,7 @@ void GuiThemeDownloader::update(int deltaTime) if (mRepositoryError == RepositoryError::HAS_LOCAL_CHANGES) { LOG(LogError) << "Repository has local changes"; } - if (mRepositoryError != RepositoryError::NO_ERROR) { + if (mRepositoryError != RepositoryError::NO_REPO_ERROR) { if (mRepositoryError == RepositoryError::NOT_A_REPOSITORY || mRepositoryError == RepositoryError::MANUALLY_DOWNLOADED) { mWindow->pushGui(new GuiMsgBox( diff --git a/es-app/src/guis/GuiThemeDownloader.h b/es-app/src/guis/GuiThemeDownloader.h index 82c73e4e7..9c6a54fcb 100644 --- a/es-app/src/guis/GuiThemeDownloader.h +++ b/es-app/src/guis/GuiThemeDownloader.h @@ -62,7 +62,7 @@ private: BusyComponent mBusyAnim; enum class RepositoryError { - NO_ERROR, + NO_REPO_ERROR, MANUALLY_DOWNLOADED, NOT_A_REPOSITORY, INVALID_ORIGIN,