From 6270b9911a347d3555a5d42f6cd3e02f521d112a Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Mon, 7 Jan 2019 21:59:08 +1100 Subject: [PATCH] fixed open recent crash --- mainwindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index e3f14fb0d..19279091f 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -500,7 +500,6 @@ void MainWindow::setup_menus() { QMenu* file_menu = menuBar->addMenu("&File"); connect(file_menu, SIGNAL(aboutToShow()), this, SLOT(fileMenu_About_To_Be_Shown())); - connect(file_menu, SIGNAL(aboutToHide()), this, SLOT(fileMenu_About_To_Hide())); QMenu* new_menu = file_menu->addMenu("&New"); make_new_menu(new_menu); @@ -1125,7 +1124,7 @@ void MainWindow::fileMenu_About_To_Be_Shown() { } void MainWindow::fileMenu_About_To_Hide() { - open_recent->clear(); +// open_recent->clear(); } void MainWindow::load_recent_project() {