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

Method fileDialogAccepted

src/DefaultDirectoryManager.cpp:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void DefaultDirectoryManager::fileDialogAccepted(const QString &filePath)
55{
56 if (settings->defaultDirectoryBehavior() == ApplicationSettings::RememberLastUsed && !filePath.isEmpty()) {
57 settings->setDefaultDirectory(QFileInfo(filePath).absolutePath());
58 }
59}

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.80

Tested by

no test coverage detected