Program updater: More reliable version detection / comparison

(cherry picked from commit c0eb048fe2)
This commit is contained in:
Christophe Dumez
2011-12-29 01:26:00 +02:00
parent 83685942de
commit 71d163d743
3 changed files with 34 additions and 31 deletions

View File

@@ -47,8 +47,8 @@ public:
void updateProgram();
protected:
QString extractVersionNumber(QString title) const;
bool isVersionMoreRecent(QString new_version) const;
QString extractVersionNumber(const QString& title) const;
bool isVersionMoreRecent(const QString& new_version) const;
protected slots:
void rssDownloadFinished(QNetworkReply* reply);