summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-06-20 19:25:43 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-06-20 19:25:43 +0200
commit0e4a3b6077a276767f76bf52b5c09036b3d89114 (patch)
tree78a50e37a3815ea90baf11882d1e8b53a07eb923 /src/mainwindow.cpp
parentNew history menu code comments (diff)
downloadrekonq-0e4a3b6077a276767f76bf52b5c09036b3d89114.tar.xz
Finally fixed F5 shortcut
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index a555df9a..2e2cc6cd 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -251,7 +251,6 @@ void MainWindow::setupActions()
// stop reload Action
m_stopReloadAction = new KAction(KIcon("view-refresh"), i18n("Reload"), this);
- m_stopReloadAction->setShortcut(KShortcut(Qt::Key_F5));
actionCollection()->addAction(QLatin1String("stop_reload") , m_stopReloadAction);
m_stopReloadAction->setShortcutConfigurable(false);
@@ -426,6 +425,11 @@ void MainWindow::slotOpenLocation()
void MainWindow::slotFileSaveAs()
{
+ QWebFrame* frame = m_view->currentWebView()->page()->currentFrame();
+
+ QString title = frame->title();
+ QString content = frame->toPlainText();
+
KUrl srcUrl = currentTab()->url();
// FIXME implement download file
}