mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
Minor
This commit is contained in:
parent
fc0dcb6ab0
commit
c4fd1efb4f
@ -55,7 +55,7 @@ QByteArray dxfToElmt(const QString &file_path)
|
||||
// inform the user about log-output via QMessageBox
|
||||
QMessageBox msgBox;
|
||||
msgBox.setIcon(QMessageBox::Critical);
|
||||
msgBox.setText(QObject::tr ("Dxf2elmt: \nError: Make sure the file %1 is a valid .dxf file").arg(file_path));
|
||||
msgBox.setText(QObject::tr("Dxf2elmt: \nError: Make sure the file %1 is a valid .dxf file").arg(file_path));
|
||||
msgBox.setInformativeText (QObject::tr("See details here:"));
|
||||
msgBox.setDetailedText(error_output);
|
||||
msgBox.exec();
|
||||
|
@ -97,7 +97,7 @@ QByteArray ElementScaler(const QString &file_path, QWidget *parent)
|
||||
if (error_output.length() > 0) {
|
||||
// inform the user about log-output via QMessageBox
|
||||
QMessageBox msgBox;
|
||||
msgBox.setText (QObject::tr("QET_ElementScaler: \nadditional information about import / scaling"));
|
||||
msgBox.setText(QObject::tr("QET_ElementScaler: \nadditional information about %1 import / scaling").arg(file_path));
|
||||
msgBox.setInformativeText(QObject::tr("See details here:"));
|
||||
msgBox.setDetailedText(error_output);
|
||||
msgBox.exec();
|
||||
|
Loading…
x
Reference in New Issue
Block a user