┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dolphinviewcontainer.cpp2
-rw-r--r--src/org.kde.dolphin.appdata.xml1
-rw-r--r--src/views/dolphinview.h10
3 files changed, 8 insertions, 5 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp
index a7587a91c..9ed7654fa 100644
--- a/src/dolphinviewcontainer.cpp
+++ b/src/dolphinviewcontainer.cpp
@@ -510,6 +510,7 @@ void DolphinViewContainer::setFilterBarVisible(bool visible)
{
Q_ASSERT(m_filterBar);
if (visible) {
+ m_view->hideToolTip(ToolTipManager::HideBehavior::Instantly);
m_filterBar->show();
m_filterBar->setFocus();
m_filterBar->selectAll();
@@ -659,6 +660,7 @@ void DolphinViewContainer::closeFilterBar()
void DolphinViewContainer::setNameFilter(const QString& nameFilter)
{
+ m_view->hideToolTip(ToolTipManager::HideBehavior::Instantly);
m_view->setNameFilter(nameFilter);
delayedStatusBarUpdate();
}
diff --git a/src/org.kde.dolphin.appdata.xml b/src/org.kde.dolphin.appdata.xml
index 87e0064f6..751cad526 100644
--- a/src/org.kde.dolphin.appdata.xml
+++ b/src/org.kde.dolphin.appdata.xml
@@ -580,6 +580,7 @@
<binary>dolphin</binary>
</provides>
<releases>
+ <release version="19.12.1" date="2020-01-09"/>
<release version="19.12.0" date="2019-12-12"/>
</releases>
</component>
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h
index ba38d3234..538e00e83 100644
--- a/src/views/dolphinview.h
+++ b/src/views/dolphinview.h
@@ -312,6 +312,11 @@ public:
*/
static QUrl openItemAsFolderUrl(const KFileItem& item, const bool browseThroughArchives = true);
+ /**
+ * Hides tooltip displayed over element.
+ */
+ void hideToolTip(const ToolTipManager::HideBehavior behavior = ToolTipManager::HideBehavior::Later);
+
public slots:
/**
* Changes the directory to \a url. If the current directory is equal to
@@ -738,11 +743,6 @@ private:
void applyModeToView();
/**
- * Hides tooltip displayed over element.
- */
- void hideToolTip(const ToolTipManager::HideBehavior behavior = ToolTipManager::HideBehavior::Later);
-
- /**
* Helper method for DolphinView::paste() and DolphinView::pasteIntoFolder().
* Pastes the clipboard data into the URL \a url.
*/