From 51a4c273a0ff8b8bc27f4ecb3ab155e18361955a Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 22 Jan 2011 14:08:11 +0000 Subject: SVN_SILENT: Coding style updates svn path=/trunk/KDE/kdebase/apps/; revision=1216293 --- src/search/dolphinsearchbox.cpp | 2 +- src/search/dolphinsearchbox.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/search') 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(); /** -- cgit v1.3