diff options
Diffstat (limited to 'common/storage/key.cpp')
-rw-r--r-- | common/storage/key.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/storage/key.cpp b/common/storage/key.cpp index 5d26722..01a3e3a 100644 --- a/common/storage/key.cpp +++ b/common/storage/key.cpp | |||
@@ -70,7 +70,7 @@ QByteArray Identifier::toDisplayByteArray() const | |||
70 | Identifier Identifier::fromDisplayByteArray(const QByteArray &bytes) | 70 | Identifier Identifier::fromDisplayByteArray(const QByteArray &bytes) |
71 | { | 71 | { |
72 | Q_ASSERT(bytes.size() == DISPLAY_REPR_SIZE); | 72 | Q_ASSERT(bytes.size() == DISPLAY_REPR_SIZE); |
73 | return Identifier(QUuid::fromString(QString::fromUtf8(bytes))); | 73 | return Identifier(QUuid(bytes)); |
74 | } | 74 | } |
75 | 75 | ||
76 | // Revision | 76 | // Revision |