diff options
| author | Peter Penz <[email protected]> | 2011-02-04 22:13:50 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-02-04 22:13:50 +0100 |
| commit | 17d217b862ec21668632576fd9df86d3a0cd5813 (patch) | |
| tree | af7c6b862096d5e6c8ea08315e3df58a17065e42 /src/dolphinviewcontainer.cpp | |
| parent | 236eac2ffa671fe9cd56c233925a19d8c89f1141 (diff) | |
Add unittest for DolphinSearchBox
A minor API cleanup in DolphinSearchBox has been done related to the test.
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 1b921e678..922259858 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -212,7 +212,7 @@ void DolphinViewContainer::setSearchModeEnabled(bool enabled) m_urlNavigator->setVisible(!enabled); if (enabled) { - m_searchBox->clearText(); + m_searchBox->setText(QString()); // Remember the most recent non-search URL as search path // of the search-box, so that it can be restored |
