1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

[Coding style] It should be only one if statement...

This commit is contained in:
nowrep 2013-12-23 20:32:42 +01:00
parent ea8b099688
commit 6c747b3c36

View File

@ -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;