Auto-updater minifix

This commit is contained in:
RipleyTom 2020-02-26 19:18:55 +01:00 committed by Ivan
parent 5094ab8283
commit abfa303e07
2 changed files with 1 additions and 2 deletions

View file

@ -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
{
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());
if (input.fail())
return false;

View file

@ -18,7 +18,6 @@ private:
QWidget* m_parent = nullptr;
QNetworkAccessManager m_manager;
QNetworkReply* reply_rpcs3 = nullptr;
std::string m_expected_hash;
u64 m_expected_size = 0;