diff -r 1a4342d80de7 -r 654661eab7f3 src/main.cpp --- 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; }