From d3c4d831eb08d9250d5956f0468438a53471871e Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 29 Jul 2009 12:22:23 +0200 Subject: Fixing initial stop_reload action --- src/mainwindow.cpp | 6 +++--- 1 file 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); -- cgit v1.2.1