From 3113cd4efc09b41a6090cd796a53d657c751f83c Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Sun, 28 Feb 2016 16:16:51 +0000 Subject: [PATCH] Minor git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4360 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/editor/qetelementeditor.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sources/editor/qetelementeditor.cpp b/sources/editor/qetelementeditor.cpp index 89edc2309..78a2bc8a7 100644 --- a/sources/editor/qetelementeditor.cpp +++ b/sources/editor/qetelementeditor.cpp @@ -1061,10 +1061,15 @@ void QETElementEditor::openRecentFile(const QString &filepath) { * @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); } /**