1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

[LocationCompleter] Hide completion popup after Alt+Enter.

Hides completion popup after opening new tab with Alt+Enter shortcut.
This commit is contained in:
nowrep 2013-05-10 22:34:51 +02:00
parent f651125c5c
commit 77aa5b0f07
2 changed files with 3 additions and 2 deletions

View File

@ -18,6 +18,8 @@
#ifndef QZ_NAMESPACE_H
#define QZ_NAMESPACE_H
#include <QFlags>
#ifdef QUPZILLA_SHAREDLIBRARY
#define QT_QUPZILLA_EXPORT Q_DECL_EXPORT
#else
@ -32,8 +34,6 @@
#define Q_LIKELY(x) x
#endif
#include <QFlags>
namespace Qz
{
// Version of session.dat file

View File

@ -473,6 +473,7 @@ void LocationBar::keyPressEvent(QKeyEvent* event)
break;
case Qt::AltModifier:
m_completer.closePopup();
p_QupZilla->tabWidget()->addView(createUrl());
m_holdingAlt = false;
break;