Skip to content

Commit

Permalink
macOS|libgui|Fixed: Enable the macOS window fullscreen button
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Oct 13, 2016
1 parent 8763d53 commit 0e581f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doomsday/sdk/libgui/src/glwindow.cpp
Expand Up @@ -192,6 +192,10 @@ GLWindow::GLWindow()
: QOpenGLWindow()
, d(new Impl(this))
{
#ifdef MACOSX
setFlags(flags() | Qt::WindowFullscreenButtonHint);
#endif

connect(this, SIGNAL(frameSwapped()), this, SLOT(frameWasSwapped()));

// Create the drawing canvas for this window.
Expand Down

0 comments on commit 0e581f7

Please sign in to comment.