From f7cbc15b33aa83e3842fb5a787fa4ce5418cb197 Mon Sep 17 00:00:00 2001 From: Flavio Date: Wed, 2 Feb 2011 15:48:28 +0100 Subject: [PATCH] Hide playlist on URL search --- src/MediaView.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/MediaView.cpp b/src/MediaView.cpp index 613ebec..57ed200 100644 --- a/src/MediaView.cpp +++ b/src/MediaView.cpp @@ -183,7 +183,10 @@ void MediaView::search(SearchParams *searchParams) { if (separator > 0 && separator + 1 < keyword.length()) { display = keyword.mid(separator+1); } - } + + // also hide sidebar + playlistWidget->hide(); + } else playlistWidget->show(); // tr("You're watching \"%1\"").arg(searchParams->keywords()) } -- 2.39.5