Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpio810 committed Oct 13, 2024
1 parent fc0dcb6 commit c4fd1ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sources/dxf/dxftoelmt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion sources/qet_elementscaler/qet_elementscaler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c4fd1ef

Please sign in to comment.