-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Description
Hi,
would it be possible not just to do
//part of openFile function
if (false == CheckFile(filePath, true))
{
qDebug() << __FUNCTION__ << "Error - wrong file path:" << filePath;
return false;
}
but do something like
if (false == CheckFile(filePath, true))
{
internalError << __FUNCTION__ << "Error - wrong file path:" << filePath;
qDebug() <<internalError;
return false;
}
QString xxx::getError()
{
return internalError;
}
everywhere where qDebug() is used, so that I can get latest error message when functions returns false and then report it to user?
Thanks.
Metadata
Metadata
Assignees
Labels
No labels