Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into fix/component-version-resolusion
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@@ -36,13 +36,21 @@ class ParsingValidator : public Net::Validator {
|
||||
virtual ~ParsingValidator() = default;
|
||||
|
||||
public: /* methods */
|
||||
bool init(QNetworkRequest&) override { return true; }
|
||||
bool init(QNetworkRequest&) override
|
||||
{
|
||||
m_data.clear();
|
||||
return true;
|
||||
}
|
||||
bool write(QByteArray& data) override
|
||||
{
|
||||
this->m_data.append(data);
|
||||
return true;
|
||||
}
|
||||
bool abort() override { return true; }
|
||||
bool abort() override
|
||||
{
|
||||
m_data.clear();
|
||||
return true;
|
||||
}
|
||||
bool validate(QNetworkReply&) override
|
||||
{
|
||||
auto fname = m_entity->localFilename();
|
||||
|
||||
Reference in New Issue
Block a user