mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
slot_openDxf fix Windows path
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4363 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1061,10 +1061,9 @@ void QETElementEditor::openRecentFile(const QString &filepath) {
|
|||||||
* @brief QETElementEditor::slot_openDxf
|
* @brief QETElementEditor::slot_openDxf
|
||||||
*/
|
*/
|
||||||
void QETElementEditor::slot_openDxf (){
|
void QETElementEditor::slot_openDxf (){
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN32
|
||||||
QString program = (QDir::homePath() + "/qet/DXFtoQET.exe");
|
QString program = (QDir::homePath() + "/Application Data/qet/DXFtoQET.exe");
|
||||||
#endif
|
#else
|
||||||
#ifdef Q_OS_LINUX
|
|
||||||
QString program = (QDir::homePath() + "/.qet/DXFtoQET");
|
QString program = (QDir::homePath() + "/.qet/DXFtoQET");
|
||||||
#endif
|
#endif
|
||||||
QStringList arguments;
|
QStringList arguments;
|
||||||
|
|||||||
Reference in New Issue
Block a user