From 54fac246d79a247ed3b46035c5eea756f34455aa Mon Sep 17 00:00:00 2001 From: Flavio Date: Mon, 31 Jan 2011 14:21:04 +0100 Subject: [PATCH] Clear recent searches --- src/MainWindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 2064ce9..aa45d4f 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -184,7 +184,7 @@ void MainWindow::createActions() { actions->insert("moveDown", moveDownAct); connect(moveDownAct, SIGNAL(triggered()), mediaView, SLOT(moveDownSelected())); - clearAct = new QAction(tr("&Clear recent keywords"), this); + clearAct = new QAction(tr("&Clear recent searches"), this); clearAct->setMenuRole(QAction::ApplicationSpecificRole); clearAct->setShortcuts(QList() << QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_Delete) @@ -938,7 +938,9 @@ void MainWindow::showFullscreenPlaylist(bool show) { void MainWindow::clearRecentKeywords() { QSettings settings; settings.remove("recentKeywords"); + settings.remove("recentChannels"); searchView->updateRecentKeywords(); + searchView->updateRecentChannels(); statusBar()->showMessage(tr("Your privacy is now safe")); } -- 2.39.5