diff options
| author | Andrea Diamantini <adjam7@gmail.com> | 2009-05-01 02:13:27 +0200 | 
|---|---|---|
| committer | Andrea Diamantini <adjam7@gmail.com> | 2009-05-01 02:13:27 +0200 | 
| commit | 3ec7985aaa24d522c27f41b5bcc6063c02da66ff (patch) | |
| tree | 092f926d6681d757300ce6ef2747986a8b81e538 | |
| parent | mouseDoubleClickEvent return, as decided with Avaddon (diff) | |
| download | rekonq-3ec7985aaa24d522c27f41b5bcc6063c02da66ff.tar.xz | |
setting focus to urlbar on empty tab opened. Some kwarning removal
| -rw-r--r-- | src/mainview.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
| 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<WebView*>(sender());      int index = webViewIndex(webView); -    kWarning() << "Here.. index = " << index;      if (-1 != index)      {          QLabel *label = animatedLoading(index, true); | 
