mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
(Windows) Fixed a build error
This commit is contained in:
parent
6ef710e007
commit
0a1698ae20
|
@ -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<std::string, std::string> 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(
|
||||
|
|
|
@ -62,7 +62,7 @@ private:
|
|||
BusyComponent mBusyAnim;
|
||||
|
||||
enum class RepositoryError {
|
||||
NO_ERROR,
|
||||
NO_REPO_ERROR,
|
||||
MANUALLY_DOWNLOADED,
|
||||
NOT_A_REPOSITORY,
|
||||
INVALID_ORIGIN,
|
||||
|
|
Loading…
Reference in a new issue