summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-07-29 12:22:23 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-07-29 12:22:23 +0200
commitd3c4d831eb08d9250d5956f0468438a53471871e (patch)
tree76efbf2bc5fbbf029751184e6e3436a076e2b26e
parentAdd WebShorcuts Settings in the configuration panel (diff)
downloadrekonq-d3c4d831eb08d9250d5956f0468438a53471871e.tar.xz
Fixing initial stop_reload action
-rw-r--r--src/mainwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 8cb005b1..706a3051 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -168,7 +168,6 @@ void MainWindow::postLaunch()
// --------- connect signals and slots
connect(m_view, SIGNAL(setCurrentTitle(const QString &)), this, SLOT(slotUpdateWindowTitle(const QString &)));
- connect(m_view, SIGNAL(browserLoading(bool)), this, SLOT(slotBrowserLoading(bool)));
connect(m_view, SIGNAL(printRequested(QWebFrame *)), this, SLOT(printRequested(QWebFrame *)));
// update toolbar actions signals
@@ -252,10 +251,11 @@ void MainWindow::setupActions()
connect(a, SIGNAL(triggered(bool)), m_view, SLOT(slotWebStop()));
// stop reload Action
- m_stopReloadAction = new KAction(KIcon("process-stop"), i18n("&Stop"), this);
+ m_stopReloadAction = new KAction(this);
actionCollection()->addAction(QLatin1String("stop_reload") , m_stopReloadAction);
m_stopReloadAction->setShortcutConfigurable(false);
-
+ connect(m_view, SIGNAL(browserLoading(bool)), this, SLOT(slotBrowserLoading(bool)));
+
// ============== Custom Actions
a = new KAction(KIcon("document-open-remote"), i18n("Open Location"), this);
a->setShortcut(Qt::CTRL + Qt::Key_L);