Commit 0fe67bd0 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 d84bdb0d
......@@ -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()) {
Supports Markdown
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