mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
remove unused function
This commit is contained in:
@@ -1282,24 +1282,6 @@ void QETElementEditor::on_m_open_from_file_action_triggered()
|
||||
openElement(user_filename);
|
||||
}
|
||||
|
||||
void QETElementEditor::on_m_open_scaled_element_action_triggered()
|
||||
{
|
||||
#ifdef TODO_LIST
|
||||
# pragma message("@TODO Merge 'Element-Scaling' code into QET")
|
||||
# pragma message("https://github.com/plc-user/QET_ElementScaler")
|
||||
#endif
|
||||
#if defined(Q_OS_WIN32) || defined(Q_OS_WIN64)
|
||||
QString program = (QDir::homePath() + "/Application Data/qet/QET_ElementScaler.exe");
|
||||
#elif defined(Q_OS_MAC)
|
||||
QString program = (QDir::homePath() + "/.qet/QET_ElementScaler.app");
|
||||
#else
|
||||
QString program = (QDir::homePath() + "/.qet/QET_ElementScaler");
|
||||
#endif
|
||||
QStringList arguments;
|
||||
QProcess *ES = new QProcess(qApp);
|
||||
ES -> start(program,arguments);
|
||||
}
|
||||
|
||||
bool QETElementEditor::on_m_save_as_file_action_triggered()
|
||||
{
|
||||
// Check element before writing
|
||||
|
||||
Reference in New Issue
Block a user