From: Flavio Date: Mon, 31 Jan 2011 13:21:04 +0000 (+0100) Subject: Clear recent searches X-Git-Tag: 1.4~24 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=54fac246d79a247ed3b46035c5eea756f34455aa;p=minitube Clear recent searches --- 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")); }