29 return settings.value(
"lastSavedFileDirectory").toString();
33 static void setDir(
const QString &path)
36 QDir dir = QDir(fi.absolutePath());
38 settings.setValue(
"lastSavedFileDirectory", dir.absolutePath() +
"/");
static void setDir(const QString &path)
Sets the directory last used for saving a file.
static const QString getDir()
Returns the directory last used for saving a file.