mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Don't use relative paths for open recent entries.
This commit is contained in:
parent
0798ac2b0a
commit
976daa3546
@ -906,7 +906,7 @@ void MainWindowViewer::openComic(QString pathFile)
|
||||
enableActions();
|
||||
|
||||
viewer->open(pathFile);
|
||||
Configuration::getConfiguration().updateOpenRecentList(pathFile);
|
||||
Configuration::getConfiguration().updateOpenRecentList(fi.absoluteFilePath());
|
||||
refreshRecentFilesActionList();
|
||||
}
|
||||
|
||||
@ -932,7 +932,7 @@ void MainWindowViewer::openFolderFromPath(QString pathDir)
|
||||
enableActions();
|
||||
|
||||
viewer->open(pathDir);
|
||||
Configuration::getConfiguration().updateOpenRecentList(pathDir);
|
||||
Configuration::getConfiguration().updateOpenRecentList(fi.absoluteFilePath());
|
||||
refreshRecentFilesActionList();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user