Skip to content

Add fullscreen toggle

Joshua Goins requested to merge (removed):fullscreen into master

This fixes BUG: 255316.

This is based off of the first KDE game I found a fullscreen switch in (a lot of them I discovered didn't!) which happens to be KBreakout. Please tell me if this isn't the standard way of doing it, but it seems to work well on my machine!

By the way, I found this line in KBreakout's implementation, which doesn't seem to do anything:

QKeySequence fullScreenShortcut(i18nc("Key (shortcut) to toggle full screen", "F"));
    fullScreenAction->setShortcut(fullScreenShortcut);

This seems to try to the default fullscreen key as F, but this doesn't do it properly on this MR nor KBreakout. It stays at the KDE default of CTRL+SHIFT+F. I didn't know if this was a known issue, but I omitted it for now.

Merge request reports

Loading