Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] Thanks Clazy!
This commit is contained in:
committed by
wmayer
parent
216106e407
commit
317bcd59c9
@@ -1237,7 +1237,7 @@ void PyResource::load(const char* name)
|
||||
|
||||
if (!fi.exists()) {
|
||||
QString what = QObject::tr("Cannot find file %1 neither in %2 nor in %3")
|
||||
.arg(fn).arg(cwd).arg(home);
|
||||
.arg(fn, cwd, home);
|
||||
throw Base::FileSystemError(what.toUtf8().constData());
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user