mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Remove debug statement and make the openrecent menu translateable
This commit is contained in:
parent
6b19a3093c
commit
e239b98d0e
@ -516,7 +516,7 @@ void MainWindowViewer::createToolBars()
|
||||
comicToolBar->addAction(openAction);
|
||||
comicToolBar->addAction(openFolderAction);
|
||||
#else
|
||||
QMenu * recentmenu = new QMenu("Open recent");
|
||||
QMenu * recentmenu = new QMenu(tr("Open recent"));
|
||||
recentmenu->addActions(recentFilesActionList);
|
||||
recentmenu->addSeparator();
|
||||
recentmenu->addAction(clearRecentFilesAction);
|
||||
@ -691,7 +691,6 @@ void MainWindowViewer::refreshRecentFilesActionList()
|
||||
|
||||
void MainWindowViewer::clearRecentFiles()
|
||||
{
|
||||
qDebug() << "clear triggered";
|
||||
Configuration::getConfiguration().clearOpenRecentList();
|
||||
refreshRecentFilesActionList();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user