Commit 7a0d6b62 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Revert "Substituted Fullscreen shortcut with a standard KDE one"

This reverts commit 73c8ace1bc3f5cf9a75e335d7c01907b38562d6c.

This breaks fullscreen in canvas-only mode in Krita
parent 776c6fff
......@@ -367,7 +367,11 @@ KoMainWindow::KoMainWindow(const QByteArray nativeMimeType, const KComponentData
d->themeManager->setCurrentTheme(group.readEntry("Theme",
d->themeManager->defaultThemeName()));
actionCollection()->addAction(KStandardAction::FullScreen, "view_fullscreen", this, SLOT(viewFullscreen(bool)));
// set up the action "list" for "Close all Views" (hacky :) (Werner)
KToggleAction *fullscreenAction = new KToggleAction(koIcon("view-fullscreen"), i18n("Full Screen Mode"), this);
actionCollection()->addAction("view_fullscreen", fullscreenAction);
fullscreenAction->setShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_F));
connect(fullscreenAction, SIGNAL(toggled(bool)), this, SLOT(viewFullscreen(bool)));
d->toggleDockers = new KToggleAction(i18n("Show Dockers"), this);
d->toggleDockers->setChecked(true);
......
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