projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44175ac
)
Log error code as hex
author
Hannah von Reth
<hannah.vonreth@owncloud.com>
Wed, 21 Oct 2020 12:51:43 +0000
(14:51 +0200)
committer
Kevin Ottens
<kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:59:20 +0000
(10:59 +0100)
src/common/utility_win.cpp
patch
|
blob
|
history
diff --git
a/src/common/utility_win.cpp
b/src/common/utility_win.cpp
index 72b66875e5aa29cf6be5510b71bcdfcc342eeab8..7c2f68ee76e11b9a990946fca4a96e9da7d3ea3f 100644
(file)
--- a/
src/common/utility_win.cpp
+++ b/
src/common/utility_win.cpp
@@
-341,7
+341,7
@@
void Utility::UnixTimeToLargeIntegerFiletime(time_t t, LARGE_INTEGER *hundredNSe
QString Utility::formatWinError(long errorCode)
{
- return QStringLiteral("WindowsError: %1: %2").arg(QString::number(errorCode), QString::fromWCharArray(_com_error(errorCode).ErrorMessage()));
+ return QStringLiteral("WindowsError: %1: %2").arg(QString::number(errorCode
, 16
), QString::fromWCharArray(_com_error(errorCode).ErrorMessage()));
}
} // namespace OCC