mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +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()}
|
: mRenderer {Renderer::getInstance()}
|
||||||
, mBackground {":/graphics/frame.svg"}
|
, mBackground {":/graphics/frame.svg"}
|
||||||
, mGrid {glm::ivec2 {3, 3}}
|
, mGrid {glm::ivec2 {3, 3}}
|
||||||
, mRepositoryError {RepositoryError::NO_ERROR}
|
, mRepositoryError {RepositoryError::NO_REPO_ERROR}
|
||||||
, mFetching {false}
|
, mFetching {false}
|
||||||
, mLatestThemesList {false}
|
, mLatestThemesList {false}
|
||||||
{
|
{
|
||||||
|
@ -81,7 +81,7 @@ bool GuiThemeDownloader::fetchRepository(std::pair<std::string, std::string> rep
|
||||||
mRepositoryName = repoInfo.first;
|
mRepositoryName = repoInfo.first;
|
||||||
mUrl = repoInfo.second;
|
mUrl = repoInfo.second;
|
||||||
mPath = Utils::FileSystem::getHomePath() + "/.emulationstation/themes/" + mRepositoryName;
|
mPath = Utils::FileSystem::getHomePath() + "/.emulationstation/themes/" + mRepositoryName;
|
||||||
mRepositoryError = RepositoryError::NO_ERROR;
|
mRepositoryError = RepositoryError::NO_REPO_ERROR;
|
||||||
mErrorMessage = "";
|
mErrorMessage = "";
|
||||||
mManualPathSuffix = "";
|
mManualPathSuffix = "";
|
||||||
|
|
||||||
|
@ -533,7 +533,7 @@ void GuiThemeDownloader::update(int deltaTime)
|
||||||
if (mRepositoryError == RepositoryError::HAS_LOCAL_CHANGES) {
|
if (mRepositoryError == RepositoryError::HAS_LOCAL_CHANGES) {
|
||||||
LOG(LogError) << "Repository 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 ||
|
if (mRepositoryError == RepositoryError::NOT_A_REPOSITORY ||
|
||||||
mRepositoryError == RepositoryError::MANUALLY_DOWNLOADED) {
|
mRepositoryError == RepositoryError::MANUALLY_DOWNLOADED) {
|
||||||
mWindow->pushGui(new GuiMsgBox(
|
mWindow->pushGui(new GuiMsgBox(
|
||||||
|
|
|
@ -62,7 +62,7 @@ private:
|
||||||
BusyComponent mBusyAnim;
|
BusyComponent mBusyAnim;
|
||||||
|
|
||||||
enum class RepositoryError {
|
enum class RepositoryError {
|
||||||
NO_ERROR,
|
NO_REPO_ERROR,
|
||||||
MANUALLY_DOWNLOADED,
|
MANUALLY_DOWNLOADED,
|
||||||
NOT_A_REPOSITORY,
|
NOT_A_REPOSITORY,
|
||||||
INVALID_ORIGIN,
|
INVALID_ORIGIN,
|
||||||
|
|
Loading…
Reference in a new issue