From: Flavio Date: Wed, 2 Feb 2011 14:48:28 +0000 (+0100) Subject: Hide playlist on URL search X-Git-Tag: 1.4~7 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f7cbc15b33aa83e3842fb5a787fa4ce5418cb197;p=minitube Hide playlist on URL search --- 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()) }