diff options
Diffstat (limited to 'lib/util.cpp')
-rw-r--r-- | lib/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.cpp b/lib/util.cpp index 9f4ac85f..4cbebfe2 100644 --- a/lib/util.cpp +++ b/lib/util.cpp @@ -104,7 +104,7 @@ qreal Quotient::stringToHueF(const QString& s) Q_ASSERT(!s.isEmpty()); QByteArray hash = QCryptographicHash::hash(s.toUtf8(), QCryptographicHash::Sha1); - QDataStream dataStream(qToLittleEndian(hash).left(2)); + QDataStream dataStream(hash.left(2)); dataStream.setByteOrder(QDataStream::LittleEndian); quint16 hashValue; dataStream >> hashValue; |