From f7eb6e0105f3859e2645127e409f8b3e0405b03f Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Sun, 28 Feb 2016 18:54:49 +0000 Subject: [PATCH] slot_openDxf fix Windows path git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4363 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/editor/qetelementeditor.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sources/editor/qetelementeditor.cpp b/sources/editor/qetelementeditor.cpp index e6b73506f..51ad9c760 100644 --- a/sources/editor/qetelementeditor.cpp +++ b/sources/editor/qetelementeditor.cpp @@ -1061,10 +1061,9 @@ 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 +#ifdef Q_OS_WIN32 +QString program = (QDir::homePath() + "/Application Data/qet/DXFtoQET.exe"); +#else QString program = (QDir::homePath() + "/.qet/DXFtoQET"); #endif QStringList arguments;