MCPcopy Create free account
hub / github.com/YACReader/yacreader / openFolderFromPath

Method openFolderFromPath

YACReader/main_window_viewer.cpp:1041–1056  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1039}
1040
1041void 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
1058void MainWindowViewer::openFolderFromPath(QString pathDir, QString atFileName)
1059{

Callers

nothing calls this directly

Calls 3

updateOpenRecentListMethod · 0.80
setFilterMethod · 0.80
openMethod · 0.45

Tested by

no test coverage detected