From 70175cc6724e7f84e9ae0ba1d42ce26002a9492b Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sat, 4 Jan 2014 11:01:13 +0100 Subject: Save Action (to re-enable CTRL + S) --- src/webwindow/webwindow.cpp | 4 ++-- src/webwindow/webwindow.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/webwindow') diff --git a/src/webwindow/webwindow.cpp b/src/webwindow/webwindow.cpp index bb857ec4..ee63e4d6 100644 --- a/src/webwindow/webwindow.cpp +++ b/src/webwindow/webwindow.cpp @@ -213,7 +213,7 @@ void WebWindow::setupActions() // Standard Actions KStandardAction::open(this, SLOT(fileOpen()), actionCollection()); - KStandardAction::saveAs(this, SLOT(fileSaveAs()), actionCollection()); + KStandardAction::save(this, SLOT(fileSave()), actionCollection()); KStandardAction::print(_tab, SLOT(printFrame()), actionCollection()); KStandardAction::preferences(this, SLOT(preferences()), actionCollection()); KStandardAction::keyBindings(this, SLOT(keyBindings()), actionCollection()); @@ -755,7 +755,7 @@ void WebWindow::fileOpen() } -void WebWindow::fileSaveAs() +void WebWindow::fileSave() { KUrl srcUrl = url(); diff --git a/src/webwindow/webwindow.h b/src/webwindow/webwindow.h index e7b6a263..0071892a 100644 --- a/src/webwindow/webwindow.h +++ b/src/webwindow/webwindow.h @@ -119,7 +119,7 @@ private Q_SLOTS: // File Menu slots void openLocation(); void fileOpen(); - void fileSaveAs(); + void fileSave(); // bookmarks bar void toggleBookmarksToolbar(bool); -- cgit v1.2.1