Commit c89b454d authored by Pawel Polanski's avatar Pawel Polanski
Browse files

CODA: Simplifying error message

parent aa35085c
......@@ -137,10 +137,10 @@ QDateTime CodaCommandResult::tcfTimeToQDateTime(quint64 tcfTimeMS)
void CodaCommandError::write(QTextStream &str) const
{
if (isError()) {
if (timeMS)
if (debug && timeMS)
str << CodaCommandResult::tcfTimeToQDateTime(timeMS).toString(Qt::ISODate) << ": ";
str << "Error code: " << code
<< " '" << format << '\'';
str << "'" << format << '\'' //for symbian the format is the real error message
<< " Code: " << code;
if (!alternativeOrganization.isEmpty())
str << " ('" << alternativeOrganization << "', code: " << alternativeCode << ')';
} else{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment