mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
Make ConsoleWindow have Qt::Window flag (adds minimise/maximise buttons to titlebar)
This commit is contained in:
parent
aab5478ae7
commit
511417c4f7
@ -13,8 +13,9 @@ ConsoleWindow::ConsoleWindow(MinecraftProcess *mcproc, QWidget *parent) :
|
||||
m_mayclose(true),
|
||||
proc(mcproc)
|
||||
{
|
||||
MultiMCPlatform::fixWM_CLASS(this);
|
||||
MultiMCPlatform::fixWM_CLASS(this);
|
||||
ui->setupUi(this);
|
||||
this->setWindowFlags(Qt::Window);
|
||||
connect(mcproc, SIGNAL(ended(BaseInstance*)), this, SLOT(onEnded(BaseInstance*)));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user