Make ConsoleWindow have Qt::Window flag (adds minimise/maximise buttons to titlebar)
This commit is contained in:
parent
aab5478ae7
commit
511417c4f7
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue