MCPcopy Create free account
hub / github.com/cpeditor/cpeditor / getSaveFileName

Method getSaveFileName

src/Settings/DefaultPathManager.cpp:94–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94QString DefaultPathManager::getSaveFileName(const QString &action, QWidget *parent, const QString &caption,
95 const QString &filter, QString *selectedFilter,
96 QFileDialog::Options options)
97{
98 auto result =
99 QFileDialog::getSaveFileName(parent, caption, defaultPathForAction(action), filter, selectedFilter, options);
100 if (!result.isEmpty())
101 setDefaultPathForAction(action, result);
102 return result;
103}
104
105void DefaultPathManager::fromVariantList(const QVariantList &list)
106{

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.80

Tested by

no test coverage detected