Commit 93bc5620 authored by Jan Möbius's avatar Jan Möbius
Browse files

Make full screen setting and resetting correct

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f5d0ae57
......@@ -63,9 +63,9 @@ void Core::applyOptions(){
coreWidget_->slotChangeView(OpenFlipper::Options::defaultToolboxMode(), QStringList());
//Set Fullscreen
if ( OpenFlipper::Options::fullScreen() )
coreWidget_->setWindowState( coreWidget_->windowState() | Qt::WindowFullScreen);
coreWidget_->setWindowState( (coreWidget_->windowState() | Qt::WindowFullScreen) ^ Qt::WindowFullScreen);
//Hide Logger
if (OpenFlipper::Options::hideLogger()) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment