diff options
| author | Peter Penz <[email protected]> | 2011-01-22 14:08:11 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-01-22 14:08:11 +0000 |
| commit | 51a4c273a0ff8b8bc27f4ecb3ab155e18361955a (patch) | |
| tree | a500cae1ddd67a2e0b4f4501fa0b6b165509dfb0 /src/search | |
| parent | c9f913255502d034a8c380c07781c747e5333c59 (diff) | |
SVN_SILENT: Coding style updates
svn path=/trunk/KDE/kdebase/apps/; revision=1216293
Diffstat (limited to 'src/search')
| -rw-r--r-- | src/search/dolphinsearchbox.cpp | 2 | ||||
| -rw-r--r-- | src/search/dolphinsearchbox.h | 2 |
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(); /** |
