Make ConsoleWindow have Qt::Window flag (adds minimise/maximise buttons to titlebar)

This commit is contained in:
Sky 2013-10-29 18:38:11 +00:00
parent aab5478ae7
commit 511417c4f7

View File

@ -13,8 +13,9 @@ ConsoleWindow::ConsoleWindow(MinecraftProcess *mcproc, QWidget *parent) :
m_mayclose(true), m_mayclose(true),
proc(mcproc) proc(mcproc)
{ {
MultiMCPlatform::fixWM_CLASS(this); MultiMCPlatform::fixWM_CLASS(this);
ui->setupUi(this); ui->setupUi(this);
this->setWindowFlags(Qt::Window);
connect(mcproc, SIGNAL(ended(BaseInstance*)), this, SLOT(onEnded(BaseInstance*))); connect(mcproc, SIGNAL(ended(BaseInstance*)), this, SLOT(onEnded(BaseInstance*)));
} }