Fix the window title
The window title now says "MultiMC 5 - Version <version> [on <platform>]"
This commit is contained in:
parent
b4fcbab513
commit
b767d4b134
@ -99,7 +99,11 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
|
|||||||
{
|
{
|
||||||
MultiMCPlatform::fixWM_CLASS(this);
|
MultiMCPlatform::fixWM_CLASS(this);
|
||||||
ui->setupUi(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.
|
// OSX magic.
|
||||||
// setUnifiedTitleAndToolBarOnMac(true);
|
// setUnifiedTitleAndToolBarOnMac(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user