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