summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-01 02:13:27 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-01 02:13:27 +0200
commit3ec7985aaa24d522c27f41b5bcc6063c02da66ff (patch)
tree092f926d6681d757300ce6ef2747986a8b81e538 /src/mainview.cpp
parentmouseDoubleClickEvent return, as decided with Avaddon (diff)
downloadrekonq-3ec7985aaa24d522c27f41b5bcc6063c02da66ff.tar.xz
setting focus to urlbar on empty tab opened. Some kwarning removal
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp3
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);