From 3ec7985aaa24d522c27f41b5bcc6063c02da66ff Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 1 May 2009 02:13:27 +0200 Subject: setting focus to urlbar on empty tab opened. Some kwarning removal --- src/mainview.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mainview.cpp') diff --git a/src/mainview.cpp b/src/mainview.cpp index d6b86452..d8375ab8 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -341,6 +341,7 @@ WebView *MainView::newWebView(bool makeCurrent) if (makeCurrent) { setCurrentWidget(webView); // this method does NOT take ownership of webView + urlBar->setFocus(); } emit tabsChanged(); @@ -425,7 +426,6 @@ void MainView::slotCloneTab(int index) // When index is -1 index chooses the current tab void MainView::slotCloseTab(int index) { - kWarning() << "Index: " << index; // do nothing if just one tab is opened if (count() == 1) return; @@ -488,7 +488,6 @@ void MainView::webViewLoadStarted() { WebView *webView = qobject_cast(sender()); int index = webViewIndex(webView); - kWarning() << "Here.. index = " << index; if (-1 != index) { QLabel *label = animatedLoading(index, true); -- cgit v1.2.1