mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +01:00
use QETApp::dataDir() instead of QStamdardPaths
This commit is contained in:
@@ -17,11 +17,11 @@
|
||||
*/
|
||||
#include "dxftoelmt.h"
|
||||
#include "../ui/thirdpartybinaryinstalldialog.h"
|
||||
#include "../qetapp.h"
|
||||
|
||||
#include <QFile>
|
||||
#include <QProcess>
|
||||
#include <QMessageBox>
|
||||
#include <QStandardPaths>
|
||||
|
||||
/**
|
||||
* @brief dxftoElmt
|
||||
@@ -71,7 +71,7 @@ QByteArray dxfToElmt(const QString &file_path)
|
||||
|
||||
QString dxf2ElmtDirPath()
|
||||
{
|
||||
return QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + "/binary";
|
||||
return QETApp::dataDir() + "/binary";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user