diff options
| author | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:49 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:49 +0200 |
| commit | 76956486fa7ef52a51d4e56df1e13a9f19a6c93c (patch) | |
| tree | fe0c394439fdc167d1970372e8998874090854dd /revision_utils.cpp | |
| parent | 0685fcada9f95fe90f70b387cd7d757da8209624 (diff) | |
| parent | ffc62c792c9a5196cb4ce7a353287dfe20db6524 (diff) | |
Update upstream source from tag 'upstream/3.3.0_beta1+dfsg'
Update to upstream version '3.3.0~beta1+dfsg'
with Debian dir 85037bbb9376721108594b59b54ead82ac6924a3
Diffstat (limited to 'revision_utils.cpp')
| -rw-r--r-- | revision_utils.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/revision_utils.cpp b/revision_utils.cpp index 83c416f1..d91db835 100644 --- a/revision_utils.cpp +++ b/revision_utils.cpp @@ -114,7 +114,10 @@ QString program_title (QString const& revision) QString branded_program_title (QString const& revision) { // applicationName() itself must stay plain ASCII -- it also names the jt9 shared-memory key and settings/lock/temp paths. - QString id {QCoreApplication::applicationName () + "™ v" + QCoreApplication::applicationVersion ()}; + QString name {QCoreApplication::applicationName ()}; + auto const instance_separator = name.indexOf (" - "); + name.insert (instance_separator < 0 ? name.size () : instance_separator, "™"); + QString id {name + " v" + QCoreApplication::applicationVersion ()}; return id + " " + revision ; } |
