[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4360
Author: scorpio810
Date: 2016-02-28 17:16:51 +0100 (Sun, 28 Feb 2016)
Log Message:
-----------
Minor
Modified Paths:
--------------
trunk/sources/editor/qetelementeditor.cpp
Modified: trunk/sources/editor/qetelementeditor.cpp
===================================================================
--- trunk/sources/editor/qetelementeditor.cpp 2016-02-28 14:50:14 UTC (rev 4359)
+++ trunk/sources/editor/qetelementeditor.cpp 2016-02-28 16:16:51 UTC (rev 4360)
@@ -1061,10 +1061,15 @@
* @brief QETElementEditor::slot_openDxf
*/
void QETElementEditor::slot_openDxf (){
+#ifdef Q_OS_WIN
+QString program = (QDir::homePath() + "/.qet/DXFtoQET.exe");
+#endif
+#ifdef Q_OS_LINUX
QString program = (QDir::homePath() + "/.qet/DXFtoQET");
+#endif
QStringList arguments;
-QProcess *myProcess = new QProcess(qApp);
-myProcess->start(program, arguments);
+QProcess *DXF = new QProcess(qApp);
+DXF->start(program, arguments);
}
/**