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