Improve the debug message. It can contains a piece name. ref #850.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-05-21 11:35:50 +03:00
parent 9c2527cf9f
commit ffdf42cc7a

View File

@ -205,7 +205,8 @@ bool VBank::Prepare()
const qint64 square = details.at(i).Square(); const qint64 square = details.at(i).Square();
if (square <= 0) if (square <= 0)
{ {
qCDebug(lBank, "Preparing data for layout error: Detail square <= 0"); qCDebug(lBank, "Preparing data for layout error: Detail '%s' square <= 0",
qUtf8Printable(details.at(i).GetName()));
prepare = false; prepare = false;
return prepare; return prepare;
} }