Skip to content

Commit

Permalink
Switch to condensed format for version display.
Browse files Browse the repository at this point in the history
  • Loading branch information
Holt59 committed Aug 5, 2024
1 parent 8f61772 commit 63f01db
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -639,9 +639,10 @@ MainWindow::~MainWindow()
void MainWindow::updateWindowTitle(const APIUserAccount& user)
{
//"\xe2\x80\x93" is an "em dash", a longer "-"
QString title = QString("%1 \xe2\x80\x93 Mod Organizer v%2")
.arg(m_OrganizerCore.managedGame()->displayGameName(),
m_OrganizerCore.getVersion().string());
QString title =
QString("%1 \xe2\x80\x93 Mod Organizer v%2")
.arg(m_OrganizerCore.managedGame()->displayGameName(),
m_OrganizerCore.getVersion().string(Version::FormatCondensed));

if (!user.name().isEmpty()) {
const QString premium = (user.type() == APIUserAccountTypes::Premium ? "*" : "");
Expand Down Expand Up @@ -1039,7 +1040,8 @@ void MainWindow::checkForProblemsImpl()

void MainWindow::about()
{
AboutDialog(m_OrganizerCore.getVersion().string(), this).exec();
AboutDialog(m_OrganizerCore.getVersion().string(Version::FormatCondensed), this)
.exec();
}

void MainWindow::createEndorseMenu()
Expand Down

0 comments on commit 63f01db

Please sign in to comment.