MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / openPath

Method openPath

src/gui/main_window.cpp:832–838  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

830}
831
832bool MainWindow::openPath(const QString &path)
833{
834 auto format = FileFormats.findFormatForFilename(path, &FileFormat::supportsFileOpen);
835 if (!format)
836 format = FileFormats.findFormatForData(path, FileFormat::AllFiles);
837 return openPath(path, format);
838}
839
840bool MainWindow::openPath(const QString& path, const FileFormat* format)
841{

Callers 2

recentFileClickedMethod · 0.80
itemClickedMethod · 0.80

Calls 15

existsFunction · 0.85
findFormatForFilenameMethod · 0.80
findFormatForDataMethod · 0.80
activateWindowMethod · 0.80
supportsReadingMethod · 0.80
removeMethod · 0.80
setValueMethod · 0.80
selectedPathMethod · 0.80
findFormatMethod · 0.80
defaultFormatMethod · 0.80
setControllerMethod · 0.80

Tested by

no test coverage detected