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

@ -1,7 +1,7 @@
#ifndef __YACREADER_GLOBAL_H
#define __YACREADER_GLOBAL_H
#define VERSION "6.5.0"
#define VERSION "6.5.3"
#define PATH "PATH"
#define MAG_GLASS_SIZE "MAG_GLASS_SIZE"

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);
}

View File

@ -24,7 +24,7 @@
<h1>General Information</h1>
<p>
YACReader - Yet Another Comic Reader - version 6.5.0 <br/>
YACReader - Yet Another Comic Reader - version %1 <br/>
by Luis Ángel San Martín Rodríguez
<h2>Contact</h2>
<ul>

View File

@ -24,7 +24,7 @@
<h1>Información general</h1>
<p>
YACReader - Yet Another Comic Reader - versión 6.5.0 <br/>
YACReader - Yet Another Comic Reader - versión %1 <br/>
por Luis Ángel San Martín Rodríguez
<h2>Contacto </h2>
<ul>