mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:18:07 +00:00
UI: Remove 'v' from version text
This commit is contained in:
parent
d312d4db81
commit
500b024aa0
@ -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);
|
||||
|
@ -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()));
|
||||
}
|
||||
|
||||
|
@ -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()));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user