mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
Fix issue with cache update
Fixes an issue caused by 33fb004cdd
Website handle didn't have updated config which caused overridden values to be ignored
This commit is contained in:
parent
5bfb00bb31
commit
51026efec0
@ -24,6 +24,7 @@ class Website
|
|||||||
std::vector<gameItem> getFreeGames();
|
std::vector<gameItem> getFreeGames();
|
||||||
std::vector<wishlistItem> getWishlistItems();
|
std::vector<wishlistItem> getWishlistItems();
|
||||||
bool IsLoggedIn();
|
bool IsLoggedIn();
|
||||||
|
void setConfig(Config &conf);
|
||||||
virtual ~Website();
|
virtual ~Website();
|
||||||
protected:
|
protected:
|
||||||
private:
|
private:
|
||||||
|
@ -2831,6 +2831,7 @@ void Downloader::updateCache()
|
|||||||
config.vLanguagePriority.clear();
|
config.vLanguagePriority.clear();
|
||||||
config.vPlatformPriority.clear();
|
config.vPlatformPriority.clear();
|
||||||
config.sIgnoreDLCCountRegex = ".*"; // Ignore DLC count for all games because GOG doesn't report DLC count correctly
|
config.sIgnoreDLCCountRegex = ".*"; // Ignore DLC count for all games because GOG doesn't report DLC count correctly
|
||||||
|
gogWebsite->setConfig(config); // Make sure that website handle has updated config
|
||||||
|
|
||||||
this->getGameList();
|
this->getGameList();
|
||||||
this->getGameDetails();
|
this->getGameDetails();
|
||||||
|
@ -701,3 +701,8 @@ std::vector<wishlistItem> Website::getWishlistItems()
|
|||||||
|
|
||||||
return wishlistItems;
|
return wishlistItems;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Website::setConfig(Config &conf)
|
||||||
|
{
|
||||||
|
this->config = conf;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user