Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
16105792
Commit
16105792
authored
Mar 11, 2011
by
Pawel Polanski
Browse files
CODA: Extend error codes only when debug is enabled
parent
67ae0e7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/symbianutils/codadevice.cpp
View file @
16105792
...
@@ -254,11 +254,13 @@ QString CodaCommandResult::errorString() const
...
@@ -254,11 +254,13 @@ QString CodaCommandResult::errorString() const
commandError
.
write
(
str
);
commandError
.
write
(
str
);
break
;
break
;
}
}
// Append the failed command for reference
if
(
debug
)
{
str
<<
" (Command was: '"
;
// Append the failed command for reference
QByteArray
printableRequest
=
request
;
str
<<
" (Command was: '"
;
printableRequest
.
replace
(
'\0'
,
'|'
);
QByteArray
printableRequest
=
request
;
str
<<
printableRequest
<<
"')"
;
printableRequest
.
replace
(
'\0'
,
'|'
);
str
<<
printableRequest
<<
"')"
;
}
return
rc
;
return
rc
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment