UI: Remove 'v' from version text

This commit is contained in:
Nodir Temirkhodjaev 2024-02-08 17:50:48 +03:00
parent d312d4db81
commit 500b024aa0
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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()));
}

View File

@ -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()));