MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / openFileDialog

Method openFileDialog

src/dialogs/MainWindow.cpp:1171–1181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1169}
1170
1171void MainWindow::openFileDialog()
1172{
1173 const QString filter = app->getFileDialogFilter();
1174
1175 QStringList fileNames = FileDialogHelpers::getOpenFileNames(this, QString(), defaultDirectoryManager->getDefaultDirectory(), filter);
1176
1177 if (!fileNames.empty())
1178 emit fileDialogAccepted(fileNames.last());
1179
1180 openFileList(fileNames);
1181}
1182
1183void MainWindow::openFile(const QString &filePath)
1184{

Callers

nothing calls this directly

Calls 2

getFileDialogFilterMethod · 0.80
getDefaultDirectoryMethod · 0.80

Tested by

no test coverage detected