mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 22:00:35 +01:00
Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4360 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user