From 468e662e4fa0d6b99b6978c1a962e6a05513e0ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 3 Mar 2024 23:31:08 +0100 Subject: [PATCH] Yet another recent files fix --- src/GUI/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI/gui.cpp b/src/GUI/gui.cpp index 8f83a304..19358b82 100644 --- a/src/GUI/gui.cpp +++ b/src/GUI/gui.cpp @@ -2489,7 +2489,7 @@ void GUI::writeSettings() QList recentActions(_recentFilesActionGroup->actions()); QStringList recent; for (int i = 0; i < recentActions.size(); i++) - recent.append(recentActions.at(i)->text()); + recent.append(recentActions.at(i)->data().toString()); settings.beginGroup(SETTINGS_FILE); WRITE(recentDataFiles, recent);