Commit d3c298bb authored by Arisotura's avatar Arisotura
Browse files

ASSFUCKING STUPID SHITPILE.

fixes #1044

(also add separator for cleaner menu)
parent 50721719
......@@ -1929,7 +1929,7 @@ void MainWindow::updateRecentFilesMenu()
item_display.truncate(cut_start+1);
item_display += "...";
item_display += item_full.remove(0, cut_end);
item_display += QString(item_full).remove(0, cut_end);
}
QAction *actRecentFile_i = recentMenu->addAction(QString("%1. %2").arg(i+1).arg(item_display));
......@@ -1940,6 +1940,8 @@ void MainWindow::updateRecentFilesMenu()
strncpy(Config::RecentROMList[i], recentFileList.at(i).toStdString().c_str(), 1024);
}
recentMenu->addSeparator();
QAction *actClearRecentList = recentMenu->addAction("Clear");
connect(actClearRecentList, &QAction::triggered, this, &MainWindow::onClearRecentFiles);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment