MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / ~PSaveFile

Method ~PSaveFile

launcher/PSaveFile.h:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 PSaveFile(const QString& name) : QSaveFile(name) { addPath(name); }
51 PSaveFile(const QString& name, QObject* parent) : QSaveFile(name, parent) { addPath(name); }
52 virtual ~PSaveFile()
53 {
54 if (auto app = APPLICATION_DYN) {
55 app->removeQSavePath(m_absoluteFilePath);
56 }
57 }
58
59 private:
60 void addPath(const QString& path)

Callers

nothing calls this directly

Calls 1

removeQSavePathMethod · 0.80

Tested by

no test coverage detected