Commit f0714295 authored by Emmanuel Promayon's avatar Emmanuel Promayon

UPDATED Save History with no memory leak + indentation + XML prolog + proper default filename

As well as a proper uppercase H (as it should be in application menus)
parent d03c77fe
......@@ -180,7 +180,7 @@ void ImpMainWindow::initActions() {
connect(editApplicationSettings, SIGNAL(triggered()), this, SLOT(editSettings()));
// save history as SCXML
saveHistory = new QAction(tr("&Save history"), this);
saveHistory = new QAction(tr("&Save History"), this);
saveHistory->setStatusTip(tr("Save the history of actions processed as an SCXML file."));
saveHistory->setWhatsThis(tr("Save the history of actions processed as an SCXML file."));
connect(saveHistory, SIGNAL(triggered()), this, SLOT(saveHistoryAsSCXML()));
......
......@@ -130,6 +130,7 @@ int main(int argc, char* argv[]) {
if (loadAdditionnalComponentExtension) {
std::cout << "- additional component extension: \"" << o.component() << "\"" << std::endl;
}
std::cout << "Working directory: " << QDir::currentPath().toStdString() << std::endl;
testInit("Starting the camitk default application...");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment