summaryrefslogtreecommitdiff
path: root/src/findbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-02-25 00:19:27 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-02-25 00:19:27 +0100
commit9d20e99fffeebe67fd8ff27cb4f9e353892f5190 (patch)
tree23462fac2e862a2f408a26f94ab024c4174c3458 /src/findbar.cpp
parentrekonq 0.6.82 (diff)
downloadrekonq-9d20e99fffeebe67fd8ff27cb4f9e353892f5190.tar.xz
Coding style
Diffstat (limited to 'src/findbar.cpp')
-rw-r--r--src/findbar.cpp12
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())
{