mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
Auto-updater minifix
This commit is contained in:
parent
5094ab8283
commit
abfa303e07
2 changed files with 1 additions and 2 deletions
|
@ -217,7 +217,7 @@ bool update_manager::handle_json(const QByteArray& data, bool automatic)
|
||||||
auto time_from_str = [](const std::string& str, const std::string& format, tm* tm) -> bool
|
auto time_from_str = [](const std::string& str, const std::string& format, tm* tm) -> bool
|
||||||
{
|
{
|
||||||
std::istringstream input(str);
|
std::istringstream input(str);
|
||||||
input.imbue(std::locale(setlocale(LC_ALL, nullptr)));
|
input.imbue(std::locale(setlocale(LC_ALL, "C")));
|
||||||
input >> std::get_time(tm, format.c_str());
|
input >> std::get_time(tm, format.c_str());
|
||||||
if (input.fail())
|
if (input.fail())
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -18,7 +18,6 @@ private:
|
||||||
QWidget* m_parent = nullptr;
|
QWidget* m_parent = nullptr;
|
||||||
|
|
||||||
QNetworkAccessManager m_manager;
|
QNetworkAccessManager m_manager;
|
||||||
QNetworkReply* reply_rpcs3 = nullptr;
|
|
||||||
|
|
||||||
std::string m_expected_hash;
|
std::string m_expected_hash;
|
||||||
u64 m_expected_size = 0;
|
u64 m_expected_size = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue