| 1039 | } |
| 1040 | |
| 1041 | void MainWindowViewer::openFolderFromPath(QString pathDir) |
| 1042 | { |
| 1043 | currentDirectory = pathDir; // TODO ?? |
| 1044 | QFileInfo fi(pathDir); |
| 1045 | currentComicPath = fi.absoluteFilePath(); |
| 1046 | getSiblingComics(fi.absolutePath(), fi.fileName()); |
| 1047 | |
| 1048 | setWindowTitle("YACReader - " + fi.fileName()); |
| 1049 | |
| 1050 | enableActions(); |
| 1051 | applySavedReaderMode(); |
| 1052 | |
| 1053 | viewer->open(pathDir); |
| 1054 | Configuration::getConfiguration().updateOpenRecentList(fi.absoluteFilePath()); |
| 1055 | refreshRecentFilesActionList(); |
| 1056 | } |
| 1057 | |
| 1058 | void MainWindowViewer::openFolderFromPath(QString pathDir, QString atFileName) |
| 1059 | { |
nothing calls this directly
no test coverage detected