src/main.cpp

changeset 206
654661eab7f3
parent 205
1a4342d80de7
child 212
27259810da6d
--- a/src/main.cpp	Wed Jun 08 20:41:21 2022 +0300
+++ b/src/main.cpp	Wed Jun 08 22:29:44 2022 +0300
@@ -64,7 +64,8 @@
 		QMessageBox::critical(
 			parent,
 			QObject::tr("Problem opening file"),
-			format(QObject::tr("Could not open %1: %2"), path, errorString));
+			QObject::tr("Could not open %1: %2").arg(quoted(path), errorString)
+		);
 	}
 	return modelIdOpt;
 }

mercurial