mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 02:10:52 +01:00
Uniformise MessageBox
Add QObjet for translate box message
This commit is contained in:
@@ -97,8 +97,8 @@ 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("QET_ElementScaler: \nadditional information about import / scaling");
|
||||
msgBox.setInformativeText("See details here:");
|
||||
msgBox.setText (QObject::tr("QET_ElementScaler: \nadditional information about import / scaling"));
|
||||
msgBox.setInformativeText(QObject::tr("See details here:"));
|
||||
msgBox.setDetailedText(error_output);
|
||||
msgBox.exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user