mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-06 07:15:39 +00:00
(Windows) Fixed an issue where the date was shown as unknown during scraping.
This commit is contained in:
parent
fb38cf9248
commit
a90fb33cc7
|
@ -7,7 +7,7 @@
|
||||||
// to resolve scraping conflicts when run from GuiScraperMenu.
|
// to resolve scraping conflicts when run from GuiScraperMenu.
|
||||||
// The function to properly save scraped metadata is located here too.
|
// The function to properly save scraped metadata is located here too.
|
||||||
//
|
//
|
||||||
// This component is called from GuiGameScraper for single-game scraping and
|
// This GUI is called from GuiGameScraper for single-game scraping and
|
||||||
// from GuiScraperMulti for multi-game scraping.
|
// from GuiScraperMulti for multi-game scraping.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
@ -414,7 +414,9 @@ void GuiScraperSearch::updateInfoPane()
|
||||||
mMD_Rating->setValue("");
|
mMD_Rating->setValue("");
|
||||||
mMD_Rating->setOpacity(0);
|
mMD_Rating->setOpacity(0);
|
||||||
}
|
}
|
||||||
mMD_ReleaseDate->setValue("99990101T000000");
|
// Set the release date to this value to force DateTimeEditComponent to put a
|
||||||
|
// blank instead of the text 'unknown' prior to the scrape result being returned.
|
||||||
|
mMD_ReleaseDate->setValue("19700101T010101");
|
||||||
mMD_Developer->setText("");
|
mMD_Developer->setText("");
|
||||||
mMD_Publisher->setText("");
|
mMD_Publisher->setText("");
|
||||||
mMD_Genre->setText("");
|
mMD_Genre->setText("");
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
// to resolve scraping conflicts when run from GuiScraperMenu.
|
// to resolve scraping conflicts when run from GuiScraperMenu.
|
||||||
// The function to properly save scraped metadata is located here too.
|
// The function to properly save scraped metadata is located here too.
|
||||||
//
|
//
|
||||||
// This component is called from GuiGameScraper for single-game scraping and
|
// This GUI is called from GuiGameScraper for single-game scraping and
|
||||||
// from GuiScraperMulti for multi-game scraping.
|
// from GuiScraperMulti for multi-game scraping.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -261,7 +261,7 @@ void DateTimeEditComponent::updateTextCache()
|
||||||
|
|
||||||
// Hack to set date string to blank instead of 'unknown'.
|
// Hack to set date string to blank instead of 'unknown'.
|
||||||
// The calling function simply needs to set this string using setValue().
|
// The calling function simply needs to set this string using setValue().
|
||||||
if (mTime.getIsoString() == "99990101T000000") {
|
if (mTime.getIsoString() == "19700101T010101") {
|
||||||
dispString = "";
|
dispString = "";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue