diff --git a/src/ui/form/controls/appinforow.cpp b/src/ui/form/controls/appinforow.cpp index e6cb8f87..474193a2 100644 --- a/src/ui/form/controls/appinforow.cpp +++ b/src/ui/form/controls/appinforow.cpp @@ -61,7 +61,7 @@ void AppInfoRow::refreshAppInfoVersion(const QString &appPath, AppInfoCache *app m_lineAppPath->setToolTip(appPath); m_labelAppProductName->setVisible(!appInfo.productName.isEmpty()); - m_labelAppProductName->setText(appInfo.productName + " v" + appInfo.productVersion); + m_labelAppProductName->setText(appInfo.productName + ' ' + appInfo.productVersion); m_labelAppCompanyName->setVisible(!appInfo.companyName.isEmpty()); m_labelAppCompanyName->setText(appInfo.companyName); diff --git a/src/ui/manager/logger.cpp b/src/ui/manager/logger.cpp index 0363406d..de0c218e 100644 --- a/src/ui/manager/logger.cpp +++ b/src/ui/manager/logger.cpp @@ -103,7 +103,7 @@ void Logger::setPath(const QString &path) QString Logger::getFileTitle() const { - return QLatin1String(APP_NAME) + " v" + APP_VERSION_STR + APP_VERSION_BUILD_STR + return QLatin1String(APP_NAME) + ' ' + APP_VERSION_STR + APP_VERSION_BUILD_STR + (isService() ? " Service" : (hasService() ? " Client" : QString())); } diff --git a/src/ui_bin/main.cpp b/src/ui_bin/main.cpp index 8466a1c5..5311fcc1 100644 --- a/src/ui_bin/main.cpp +++ b/src/ui_bin/main.cpp @@ -85,7 +85,7 @@ int main(int argc, char *argv[]) QApplication app(argc, argv); QApplication::setApplicationName(APP_NAME); QApplication::setApplicationVersion(APP_VERSION_STR); - QApplication::setApplicationDisplayName(QLatin1String(APP_NAME) + " v" + APP_VERSION_STR + QApplication::setApplicationDisplayName(QLatin1String(APP_NAME) + ' ' + APP_VERSION_STR + APP_VERSION_BUILD_STR + (settings.isPortable() ? QLatin1String(" Portable") : QString()));