mirror of
https://github.com/YACReader/yacreader
synced 2025-12-07 18:02:52 -05:00
Don't use relative paths for open recent entries.
This commit is contained in:
@ -906,7 +906,7 @@ void MainWindowViewer::openComic(QString pathFile)
|
|||||||
enableActions();
|
enableActions();
|
||||||
|
|
||||||
viewer->open(pathFile);
|
viewer->open(pathFile);
|
||||||
Configuration::getConfiguration().updateOpenRecentList(pathFile);
|
Configuration::getConfiguration().updateOpenRecentList(fi.absoluteFilePath());
|
||||||
refreshRecentFilesActionList();
|
refreshRecentFilesActionList();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -932,7 +932,7 @@ void MainWindowViewer::openFolderFromPath(QString pathDir)
|
|||||||
enableActions();
|
enableActions();
|
||||||
|
|
||||||
viewer->open(pathDir);
|
viewer->open(pathDir);
|
||||||
Configuration::getConfiguration().updateOpenRecentList(pathDir);
|
Configuration::getConfiguration().updateOpenRecentList(fi.absoluteFilePath());
|
||||||
refreshRecentFilesActionList();
|
refreshRecentFilesActionList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user