[qet] [4363] slot_openDxf fix Windows path |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4363
Author: scorpio810
Date: 2016-02-28 19:54:49 +0100 (Sun, 28 Feb 2016)
Log Message:
-----------
slot_openDxf fix Windows path
Modified Paths:
--------------
trunk/sources/editor/qetelementeditor.cpp
Modified: trunk/sources/editor/qetelementeditor.cpp
===================================================================
--- trunk/sources/editor/qetelementeditor.cpp 2016-02-28 18:19:04 UTC (rev 4362)
+++ trunk/sources/editor/qetelementeditor.cpp 2016-02-28 18:54:49 UTC (rev 4363)
@@ -1061,10 +1061,9 @@
* @brief QETElementEditor::slot_openDxf
*/
void QETElementEditor::slot_openDxf (){
-#ifdef Q_OS_WIN
-QString program = (QDir::homePath() + "/qet/DXFtoQET.exe");
-#endif
-#ifdef Q_OS_LINUX
+#ifdef Q_OS_WIN32
+QString program = (QDir::homePath() + "/Application Data/qet/DXFtoQET.exe");
+#else
QString program = (QDir::homePath() + "/.qet/DXFtoQET");
#endif
QStringList arguments;