summaryrefslogtreecommitdiff
path: root/HelpDialog.cpp
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2020-08-11 22:35:12 +0100
committerThomas Preud'homme <robotux@celest.fr>2020-08-11 22:35:12 +0100
commit3ac113857071fc1f225b2e1b42547269e568c6b7 (patch)
tree8b28dd9c44a0d3c7ab8187cd8d8f19d47591d813 /HelpDialog.cpp
parent9b10c21f5cad0e2ec27d23c59e65af7141a226f3 (diff)
New upstream version 2.2.4.4
Diffstat (limited to 'HelpDialog.cpp')
-rwxr-xr-x[-rw-r--r--]HelpDialog.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/HelpDialog.cpp b/HelpDialog.cpp
index b52e402..584e76e 100644..100755
--- a/HelpDialog.cpp
+++ b/HelpDialog.cpp
@@ -5,6 +5,7 @@
#include "HelpDialog.h"
#include "ProductKey.h"
+#include "FacilityEngine.h"
#include <QTreeWidgetItem>
#include <QApplication>
@@ -32,11 +33,7 @@ HelpDialog::HelpDialog() :
#endif // ULTRACOPIER_DEBUG
//connect the about Qt
connect(ui->pushButtonAboutQt,&QPushButton::toggled,&QApplication::aboutQt);
- #ifdef ULTRACOPIER_MODE_SUPERCOPIER
- setWindowTitle(tr("About Supercopier"));
- #else
setWindowTitle(tr("About Ultracopier"));
- #endif
#ifndef ULTRACOPIER_INTERNET_SUPPORT
ui->checkUpdate->hide();
#endif
@@ -69,9 +66,9 @@ void HelpDialog::reloadTextValue()
ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start");
QString text=ui->label_ultracopier->text();
if(ProductKey::productKey->isUltimate())
- text=text.replace(QStringLiteral("%1"),QStringLiteral("Ultimate %1").arg(ULTRACOPIER_VERSION));
+ text=text.replace(QStringLiteral("%1"),QStringLiteral("Ultimate %1").arg(QString::fromStdString(FacilityEngine::version())));
else
- text=text.replace(QStringLiteral("%1"),ULTRACOPIER_VERSION);
+ text=text.replace(QStringLiteral("%1"),QString::fromStdString(FacilityEngine::version()));
#ifdef ULTRACOPIER_MODE_SUPERCOPIER
text=text.replace(QStringLiteral("Ultracopier"),QStringLiteral("Supercopier"),Qt::CaseInsensitive);
#endif