mirror of
https://github.com/YACReader/yacreader
synced 2025-07-20 22:14:41 -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:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user