diff options
author | Sky <git@bunnies.cc> | 2013-10-29 18:38:11 +0000 |
---|---|---|
committer | Sky <git@bunnies.cc> | 2013-10-29 18:38:11 +0000 |
commit | 511417c4f7a9429619492092201253124ee9fed9 (patch) | |
tree | 6a792c3bb44cefbacfdf5a4c8fc2eb379e73426a | |
parent | aab5478ae7367dd30695353f626379cb698495f3 (diff) | |
download | MultiMC-511417c4f7a9429619492092201253124ee9fed9.tar MultiMC-511417c4f7a9429619492092201253124ee9fed9.tar.gz MultiMC-511417c4f7a9429619492092201253124ee9fed9.tar.lz MultiMC-511417c4f7a9429619492092201253124ee9fed9.tar.xz MultiMC-511417c4f7a9429619492092201253124ee9fed9.zip |
Make ConsoleWindow have Qt::Window flag (adds minimise/maximise buttons to titlebar)
-rw-r--r-- | gui/consolewindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/consolewindow.cpp b/gui/consolewindow.cpp index 78ef958e..49e12339 100644 --- a/gui/consolewindow.cpp +++ b/gui/consolewindow.cpp @@ -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*))); } |