version number 6.5.3

modified help_about_dialog , now uses VERSION in order to set the number version in about.html automatically
This commit is contained in:
Luis Ángel San Martín
2013-07-02 22:02:52 +02:00
parent bb7c0275b7
commit cbbf4aa0d2
4 changed files with 6 additions and 4 deletions

View File

@ -9,6 +9,8 @@
#include <QTextCodec>
#include <QDesktopWidget>
#include "yacreader_global.h"
HelpAboutDialog::HelpAboutDialog(QWidget * parent)
:QDialog(parent)
{
@ -41,7 +43,7 @@ HelpAboutDialog::HelpAboutDialog(const QString & pathAbout,const QString & pathH
void HelpAboutDialog::loadAboutInformation(const QString & path)
{
aboutText->setHtml(fileToString(path));
aboutText->setHtml(fileToString(path).arg(VERSION));
aboutText->moveCursor(QTextCursor::Start);
}