From ba7f919cd58e9c49c92e534b4a0f481b8039467a Mon Sep 17 00:00:00 2001 From: nowrep Date: Thu, 6 Sep 2012 12:02:03 +0200 Subject: [PATCH] Location/Search Bar: Always open new active window with Alt+Enter - in Web Search Bar it can be also opened with middle click on magnifying glass button --- CHANGELOG | 1 + src/lib/navigation/locationbar.cpp | 2 +- src/lib/navigation/websearchbar.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 03349e4e1..99662ac2f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -13,6 +13,7 @@ Version 1.3.5 * remember last section in preferences * much more tabs now fits into tabbar without overflowing into tab buttons * smarter address bar completer will show better search results + * support for bookmarks manager and sidebar drag&drop managing bookmarks * new User Agent manager lets you set User Agent per site * new restore session page lets you choose which tabs you want to restore * new scheme handler for file protocol allows browsing through directories diff --git a/src/lib/navigation/locationbar.cpp b/src/lib/navigation/locationbar.cpp index 2d8565340..879cf0d8a 100644 --- a/src/lib/navigation/locationbar.cpp +++ b/src/lib/navigation/locationbar.cpp @@ -479,7 +479,7 @@ void LocationBar::keyPressEvent(QKeyEvent* event) break; case Qt::AltModifier: - p_QupZilla->tabWidget()->addView(createUrl(), qzSettings->newTabPosition); + p_QupZilla->tabWidget()->addView(createUrl()); m_holdingAlt = false; break; diff --git a/src/lib/navigation/websearchbar.cpp b/src/lib/navigation/websearchbar.cpp index afa11c823..b9bf9f958 100644 --- a/src/lib/navigation/websearchbar.cpp +++ b/src/lib/navigation/websearchbar.cpp @@ -199,7 +199,7 @@ void WebSearchBar::search() void WebSearchBar::searchInNewTab() { p_QupZilla->weView()->setFocus(); - p_QupZilla->tabWidget()->addView(m_searchManager->searchUrl(m_activeEngine, text()), qzSettings->newTabPosition); + p_QupZilla->tabWidget()->addView(m_searchManager->searchUrl(m_activeEngine, text())); } void WebSearchBar::completeMenuWithAvailableEngines(QMenu* menu)