# HG changeset patch # User mathieub # Date 1314101223 -3600 # Node ID a373a9cdbe1350373af45718b15822a9e66820a9 # Parent 33d0632255b569038b903e652d39d6f8a4ba05a4 Update of MainWindow.cpp diff -r 33d0632255b5 -r a373a9cdbe13 main/MainWindow.cpp --- a/main/MainWindow.cpp Mon Jul 25 21:04:31 2011 +0100 +++ b/main/MainWindow.cpp Tue Aug 23 13:07:03 2011 +0100 @@ -447,7 +447,7 @@ m_keyReference->registerShortcut(action); m_fileMenu->addAction(action); - m_recentFilesMenu = menu->addMenu(tr("Open &Recent")); + m_recentFilesMenu = m_fileMenu->addMenu(tr("Open &Recent")); m_recentFilesMenu->setTearOffEnabled(true); setupRecentFilesMenu(); connect(&m_recentFiles, SIGNAL(recentChanged()),