From 6d37e632d445b51f5321b4138dcd1fce0cae30f9 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 10 Apr 2009 18:57:01 +0200 Subject: Fixed webview API Removed some unuseful comments --- src/mainwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 76312c32..82f555ef 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -272,7 +272,7 @@ void MainWindow::setupActions() a = new KAction(KIcon("tab-close"), i18n("&Close Tab"), this); a->setShortcut(KShortcut(Qt::CTRL + Qt::Key_W)); actionCollection()->addAction(QLatin1String("close_tab"), a); - connect(a, SIGNAL(triggered(bool)), m_view, SLOT(closeTab())); + connect(a, SIGNAL(triggered(bool)), m_view, SLOT(slotCloseTab())); a = new KAction(i18n("Show Next Tab"), this); a->setShortcuts(QApplication::isRightToLeft() ? KStandardShortcut::tabPrev() : KStandardShortcut::tabNext()); @@ -341,7 +341,7 @@ void MainWindow::slotUpdateConfiguration() void MainWindow::slotUpdateBrowser() { slotUpdateConfiguration(); - mainView()->reloadAllTabs(); + mainView()->slotReloadAllTabs(); } @@ -679,7 +679,7 @@ void MainWindow::slotToggleInspector(bool enable) i18n("Web Inspector")); if (result == KMessageBox::Yes) { - m_view->reloadAllTabs(); + m_view->slotReloadAllTabs(); } } } -- cgit v1.2.1