summaryrefslogtreecommitdiff
path: root/HelpDialog.cpp
diff options
context:
space:
mode:
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