mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
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:
parent
bb7c0275b7
commit
cbbf4aa0d2
@ -1,7 +1,7 @@
|
|||||||
#ifndef __YACREADER_GLOBAL_H
|
#ifndef __YACREADER_GLOBAL_H
|
||||||
#define __YACREADER_GLOBAL_H
|
#define __YACREADER_GLOBAL_H
|
||||||
|
|
||||||
#define VERSION "6.5.0"
|
#define VERSION "6.5.3"
|
||||||
|
|
||||||
#define PATH "PATH"
|
#define PATH "PATH"
|
||||||
#define MAG_GLASS_SIZE "MAG_GLASS_SIZE"
|
#define MAG_GLASS_SIZE "MAG_GLASS_SIZE"
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
#include <QTextCodec>
|
#include <QTextCodec>
|
||||||
#include <QDesktopWidget>
|
#include <QDesktopWidget>
|
||||||
|
|
||||||
|
#include "yacreader_global.h"
|
||||||
|
|
||||||
HelpAboutDialog::HelpAboutDialog(QWidget * parent)
|
HelpAboutDialog::HelpAboutDialog(QWidget * parent)
|
||||||
:QDialog(parent)
|
:QDialog(parent)
|
||||||
{
|
{
|
||||||
@ -41,7 +43,7 @@ HelpAboutDialog::HelpAboutDialog(const QString & pathAbout,const QString & pathH
|
|||||||
|
|
||||||
void HelpAboutDialog::loadAboutInformation(const QString & path)
|
void HelpAboutDialog::loadAboutInformation(const QString & path)
|
||||||
{
|
{
|
||||||
aboutText->setHtml(fileToString(path));
|
aboutText->setHtml(fileToString(path).arg(VERSION));
|
||||||
aboutText->moveCursor(QTextCursor::Start);
|
aboutText->moveCursor(QTextCursor::Start);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
<h1>General Information</h1>
|
<h1>General Information</h1>
|
||||||
<p>
|
<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
|
by Luis Ángel San Martín Rodríguez
|
||||||
<h2>Contact</h2>
|
<h2>Contact</h2>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
<h1>Información general</h1>
|
<h1>Información general</h1>
|
||||||
<p>
|
<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
|
por Luis Ángel San Martín Rodríguez
|
||||||
<h2>Contacto </h2>
|
<h2>Contacto </h2>
|
||||||
<ul>
|
<ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user