comparison main/MainWindow.cpp @ 420:5fdd59f8bff2 feature_150_menu_arrangement

rename Recent Files -> Open Recent
author Chris Cannam
date Thu, 28 Apr 2011 15:28:08 +0100
parents 67941a9bb202
children 07fbfba541b0
comparison
equal deleted inserted replaced
419:67941a9bb202 420:5fdd59f8bff2
420 action->setStatusTip(tr("Open or import a file from a remote URL")); 420 action->setStatusTip(tr("Open or import a file from a remote URL"));
421 connect(action, SIGNAL(triggered()), this, SLOT(openLocation())); 421 connect(action, SIGNAL(triggered()), this, SLOT(openLocation()));
422 m_keyReference->registerShortcut(action); 422 m_keyReference->registerShortcut(action);
423 menu->addAction(action); 423 menu->addAction(action);
424 424
425 m_recentFilesMenu = menu->addMenu(tr("&Recent Files")); 425 m_recentFilesMenu = menu->addMenu(tr("Open &Recent"));
426 m_recentFilesMenu->setTearOffEnabled(true); 426 m_recentFilesMenu->setTearOffEnabled(true);
427 setupRecentFilesMenu(); 427 setupRecentFilesMenu();
428 connect(&m_recentFiles, SIGNAL(recentChanged()), 428 connect(&m_recentFiles, SIGNAL(recentChanged()),
429 this, SLOT(setupRecentFilesMenu())); 429 this, SLOT(setupRecentFilesMenu()));
430 430