#include "xsltproc.h"
extern Main *mainWindow;
-// extern QDir vymBaseDir;
-// extern QString flagsPath;
-// extern QString vymName;
-// extern QString vymVersion;
-// extern QString vymHome;
-extern Settings settings;
extern QDir lastExportDir;
ExportBase::ExportBase() { init(); }
command += ")";
}
- settings.setLocalValue(model->getFilePath(), "/export/last/command",
- command);
- settings.setLocalValue(model->getFilePath(), "/export/last/description",
- exportName);
- settings.setLocalValue(model->getFilePath(), "/export/last/displayedDestination",
- displayedDestination);
+ model->setExportLastCommand(command);
+ model->setExportLastDestination(displayedDestination);
+ model->setExportLastDescription(exportName);
// Trigger saving of export command if it has changed
if (model && (lastCommand != command))