┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search
diff options
context:
space:
mode:
Diffstat (limited to 'src/search')
-rw-r--r--src/search/dolphinsearchbox.cpp2
-rw-r--r--src/search/dolphinsearchbox.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp
index af0f12389..bc1445cb7 100644
--- a/src/search/dolphinsearchbox.cpp
+++ b/src/search/dolphinsearchbox.cpp
@@ -163,7 +163,7 @@ void DolphinSearchBox::showEvent(QShowEvent* event)
void DolphinSearchBox::keyReleaseEvent(QKeyEvent* event)
{
QWidget::keyReleaseEvent(event);
- if ((event->key() == Qt::Key_Escape)) {
+ if (event->key() == Qt::Key_Escape) {
if (m_searchInput->text().isEmpty()) {
emit closeRequest();
} else {
diff --git a/src/search/dolphinsearchbox.h b/src/search/dolphinsearchbox.h
index 5fc707e91..1ca97ea9c 100644
--- a/src/search/dolphinsearchbox.h
+++ b/src/search/dolphinsearchbox.h
@@ -45,7 +45,7 @@ class DolphinSearchBox : public QWidget {
Q_OBJECT
public:
- DolphinSearchBox(QWidget* parent = 0);
+ explicit DolphinSearchBox(QWidget* parent = 0);
virtual ~DolphinSearchBox();
/**