diff main/MainWindow.cpp @ 467:a373a9cdbe13 integration_library

Update of MainWindow.cpp
author mathieub <mathieu.barthet@eecs.qmul.ac.uk>
date Tue, 23 Aug 2011 13:07:03 +0100
parents 33d0632255b5
children e5c6aed2bf6b
line wrap: on
line diff
--- 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()),