mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-19 18:26:34 +01:00
[Coding style] It should be only one if statement...
This commit is contained in:
parent
ea8b099688
commit
6c747b3c36
@ -445,10 +445,8 @@ void LocationBar::keyPressEvent(QKeyEvent* event)
|
||||
break;
|
||||
|
||||
case Qt::Key_A:
|
||||
if (event->modifiers() == Qt::ControlModifier) {
|
||||
if (m_inlineCompletionVisible) {
|
||||
m_inlineCompletionVisible = false;
|
||||
}
|
||||
if (event->modifiers() == Qt::ControlModifier && m_inlineCompletionVisible) {
|
||||
m_inlineCompletionVisible = false;
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user