mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-31 09:05:14 +01:00
Yet another recent files fix
This commit is contained in:
parent
3ba6d2d24f
commit
468e662e4f
@ -2489,7 +2489,7 @@ void GUI::writeSettings()
|
|||||||
QList<QAction*> recentActions(_recentFilesActionGroup->actions());
|
QList<QAction*> recentActions(_recentFilesActionGroup->actions());
|
||||||
QStringList recent;
|
QStringList recent;
|
||||||
for (int i = 0; i < recentActions.size(); i++)
|
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);
|
settings.beginGroup(SETTINGS_FILE);
|
||||||
WRITE(recentDataFiles, recent);
|
WRITE(recentDataFiles, recent);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user