From a8e2a7acff98595e1e1e63b7fdb2539392a4bc72 Mon Sep 17 00:00:00 2001 From: plc-user <74435298+plc-user@users.noreply.github.com> Date: Fri, 19 Jun 2026 17:06:58 +0200 Subject: [PATCH] concat QString with '%' --- sources/qetproject.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sources/qetproject.cpp b/sources/qetproject.cpp index 21dedd6dc..64bead38f 100644 --- a/sources/qetproject.cpp +++ b/sources/qetproject.cpp @@ -1126,7 +1126,7 @@ ElementsLocation QETProject::importElement(ElementsLocation &location) //Get the path where the element must be imported QString import_path; if (location.isFileSystem()) { - import_path = "import/" + location.collectionPath(false); + import_path = "import/" % location.collectionPath(false); } else if (location.isProject()) { if (location.project() == this) { @@ -1391,7 +1391,7 @@ void QETProject::readProjectXml(QDomDocument &xml_project) "\n qui est ultérieure à votre version !" " \n" "Vous utilisez actuellement QElectroTech en version %2") - .arg(root_elmt.attribute(QStringLiteral("version")), QetVersion::currentVersion().toString() + + .arg(root_elmt.attribute(QStringLiteral("version")), QetVersion::currentVersion().toString() % tr(".\n Il est alors possible que l'ouverture de tout ou partie de ce " "document échoue.\n" "Que désirez vous faire ?"), @@ -1415,7 +1415,7 @@ void QETProject::readProjectXml(QDomDocument &xml_project) tr("Avertissement ", "message box title"), tr("Le projet que vous tentez d'ouvrir est partiellement " "compatible avec votre version %1 de QElectroTech.\n") - .arg(QetVersion::currentVersion().toString()) + + .arg(QetVersion::currentVersion().toString()) % tr("Afin de le rendre totalement compatible veuillez ouvrir ce même projet " "avec la version 0.8, ou 0.80 de QElectroTech et sauvegarder le projet " "et l'ouvrir à nouveau avec cette version.\n"