2010-12-12 Sam Magnuson <smagnuso@gmail.com>

        Reviewed by Eric Seidel.

        [Qt] Compile with QT_NO_QUUID_STRING.
        https://bugs.webkit.org/show_bug.cgi?id=49745

        * platform/UUID.cpp:
        (WebCore::createCanonicalUUIDString):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73870 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 50f82858
2010-12-12 Sam Magnuson <smagnuso@gmail.com>
Reviewed by Eric Seidel.
[Qt] Compile with QT_NO_QUUID_STRING.
https://bugs.webkit.org/show_bug.cgi?id=49745
* platform/UUID.cpp:
(WebCore::createCanonicalUUIDString):
2010-12-12 Ragner Magalhaes <ragner.magalhaes@openbossa.org>
Reviewed by Eric Seidel.
......
......@@ -55,7 +55,7 @@ static const int uuidVersionIdentifierIndex = 14;
String createCanonicalUUIDString()
{
#if PLATFORM(QT)
#if PLATFORM(QT) && !defined(QT_NO_QUUID_STRING)
QUuid uuid = QUuid::createUuid();
String canonicalUuidStr = uuid.toString().mid(1, 36).toLower(); // remove opening and closing bracket and make it lower.
ASSERT(canonicalUuidStr[uuidVersionIdentifierIndex] == uuidVersionRequired);
......
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