summaryrefslogtreecommitdiffstats
path: root/gui/consolewindow.cpp
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-10-29 18:38:11 +0000
committerSky <git@bunnies.cc>2013-10-29 18:38:11 +0000
commit511417c4f7a9429619492092201253124ee9fed9 (patch)
tree6a792c3bb44cefbacfdf5a4c8fc2eb379e73426a /gui/consolewindow.cpp
parentaab5478ae7367dd30695353f626379cb698495f3 (diff)
downloadMultiMC-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)
Diffstat (limited to 'gui/consolewindow.cpp')
-rw-r--r--gui/consolewindow.cpp3
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*)));
}