mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +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:
parent
f651125c5c
commit
77aa5b0f07
@ -18,6 +18,8 @@
|
|||||||
#ifndef QZ_NAMESPACE_H
|
#ifndef QZ_NAMESPACE_H
|
||||||
#define QZ_NAMESPACE_H
|
#define QZ_NAMESPACE_H
|
||||||
|
|
||||||
|
#include <QFlags>
|
||||||
|
|
||||||
#ifdef QUPZILLA_SHAREDLIBRARY
|
#ifdef QUPZILLA_SHAREDLIBRARY
|
||||||
#define QT_QUPZILLA_EXPORT Q_DECL_EXPORT
|
#define QT_QUPZILLA_EXPORT Q_DECL_EXPORT
|
||||||
#else
|
#else
|
||||||
@ -32,8 +34,6 @@
|
|||||||
#define Q_LIKELY(x) x
|
#define Q_LIKELY(x) x
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <QFlags>
|
|
||||||
|
|
||||||
namespace Qz
|
namespace Qz
|
||||||
{
|
{
|
||||||
// Version of session.dat file
|
// Version of session.dat file
|
||||||
|
@ -473,6 +473,7 @@ void LocationBar::keyPressEvent(QKeyEvent* event)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case Qt::AltModifier:
|
case Qt::AltModifier:
|
||||||
|
m_completer.closePopup();
|
||||||
p_QupZilla->tabWidget()->addView(createUrl());
|
p_QupZilla->tabWidget()->addView(createUrl());
|
||||||
m_holdingAlt = false;
|
m_holdingAlt = false;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user