summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2014-01-04 11:01:13 +0100
committerAndrea Diamantini <adjam7@gmail.com>2014-01-04 11:01:13 +0100
commit70175cc6724e7f84e9ae0ba1d42ce26002a9492b (patch)
treeaee8cda0373d01a049ed5edd967ecc1b3c015f88
parentFix inconsistent dll linkage - those sources aren't being used for a shared lib. (diff)
downloadrekonq-70175cc6724e7f84e9ae0ba1d42ce26002a9492b.tar.xz
Save Action (to re-enable CTRL + S)
-rw-r--r--src/webtab/webview.cpp2
-rw-r--r--src/webwindow/webwindow.cpp4
-rw-r--r--src/webwindow/webwindow.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/webtab/webview.cpp b/src/webtab/webview.cpp
index f2349c01..6a720654 100644
--- a/src/webtab/webview.cpp
+++ b/src/webtab/webview.cpp
@@ -373,7 +373,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
menu.addAction(pageAction(KWebPage::SelectAll));
if (webwin)
- menu.addAction(webwin->actionByName(KStandardAction::name(KStandardAction::SaveAs)));
+ menu.addAction(webwin->actionByName(KStandardAction::name(KStandardAction::Save)));
if (!KStandardDirs::findExe("kget").isNull() && ReKonfig::kgetList())
{
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);