File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
/* ****************************************************************************
2
- * Copyright 2015-2024 Alexander Barthel alex@littlenavmap.org
2
+ * Copyright 2015-2025 Alexander Barthel alex@littlenavmap.org
3
3
*
4
4
* This program is free software: you can redistribute it and/or modify
5
5
* it under the terms of the GNU General Public License as published by
@@ -56,10 +56,12 @@ void RouteExportFormatMap::setDebugOptions(rexp::RouteExportFormatType type)
56
56
{
57
57
RouteExportFormat& format = (*this )[type];
58
58
59
- QString defaultPath = QDir::homePath () + " /Temp/Little Navmap Export " ;
59
+ QString defaultPath = QDir::homePath () % atools::SEP % " Temp " ;
60
60
QString path = Settings::instance ().getAndStoreValue (lnm::OPTIONS_MULTIEXPORT_DEBUG_PATH, defaultPath).toString ();
61
61
62
- format.setPath (path + " /" + format.getCategory ());
62
+ format.setPath (path % atools::SEP %
63
+ QCoreApplication::applicationName () % " " % QCoreApplication::applicationVersion () % atools::SEP +
64
+ format.getCategory ());
63
65
64
66
QDir ().mkpath (format.getPath ());
65
67
format.setPattern (QFileInfo (format.getDefaultPattern ()).baseName () + " " + format.getComment ().replace (" /" , " -" ) +
You can’t perform that action at this time.
0 commit comments