Fix the window title
The window title now says "MultiMC 5 - Version <version> [on <platform>]"
This commit is contained in:
parent
b4fcbab513
commit
b767d4b134
1 changed files with 5 additions and 1 deletions
|
@ -99,7 +99,11 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
|
|||
{
|
||||
MultiMCPlatform::fixWM_CLASS(this);
|
||||
ui->setupUi(this);
|
||||
setWindowTitle(QString("MultiMC %1").arg(MMC->version().toString()));
|
||||
|
||||
QString winTitle = QString("MultiMC 5 - Version %1").arg(MMC->version().toString());
|
||||
if (!MMC->version().platform.isEmpty())
|
||||
winTitle += " on " + MMC->version().platform;
|
||||
setWindowTitle(winTitle);
|
||||
|
||||
// OSX magic.
|
||||
// setUnifiedTitleAndToolBarOnMac(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue