diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-02-25 00:19:27 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-02-25 00:19:27 +0100 |
commit | 9d20e99fffeebe67fd8ff27cb4f9e353892f5190 (patch) | |
tree | 23462fac2e862a2f408a26f94ab024c4174c3458 /src/findbar.cpp | |
parent | rekonq 0.6.82 (diff) | |
download | rekonq-9d20e99fffeebe67fd8ff27cb4f9e353892f5190.tar.xz |
Coding style
Diffstat (limited to 'src/findbar.cpp')
-rw-r--r-- | src/findbar.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/findbar.cpp b/src/findbar.cpp index a7c86816..c1f170cd 100644 --- a/src/findbar.cpp +++ b/src/findbar.cpp @@ -162,7 +162,7 @@ void FindBar::setVisible(bool visible) m_mainWindow->findNext(); return; } - + QWidget::setVisible(visible); if (visible) @@ -171,12 +171,12 @@ void FindBar::setVisible(bool visible) if (!hasFocus() && !selectedText.isEmpty()) { const QString previousText = m_lineEdit->text(); - m_lineEdit->setText(selectedText); + m_lineEdit->setText(selectedText); - if (m_lineEdit->text() != previousText) - m_mainWindow->findPrevious(); - else - m_mainWindow->updateHighlight();; + if (m_lineEdit->text() != previousText) + m_mainWindow->findPrevious(); + else + m_mainWindow->updateHighlight();; } else if (selectedText.isEmpty()) { |