Bug fix. Updates through the server didn't update the read field in the DB.

This commit is contained in:
Luis Ángel San Martín
2017-10-20 17:42:25 +02:00
commit 02e7caf5c5
1047 changed files with 103574 additions and 0 deletions

View File

@ -0,0 +1,26 @@
#ifndef __CHECKUPDATE_H
#define __CHECKUPDATE_H
#include "http_worker.h"
#include "yacreader_global.h"
#include <QByteArray>
#include <QThread>
class HttpVersionChecker : public HttpWorker
{
Q_OBJECT
public:
HttpVersionChecker();
public slots:
private:
bool found;
private slots:
bool checkNewVersion(QString sourceContent);
void checkNewVersion(const QByteArray & data);
signals:
void newVersionDetected();
};
#endif