From 6c3425a642358446375275d33898ac5bb02b7f8a Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Wed, 5 Jun 2013 15:39:37 -0700 Subject: [PATCH] Fix for URL decoding. --- interface/src/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index d70a1840ba..ce176b9acf 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -1015,7 +1015,7 @@ static void processAvatarVoxelURLMessage(unsigned char *packetData, size_t dataB if (!avatar->isInitialized()) { return; // wait until initialized } - QUrl url = QUrl::fromEncoded(QByteArray::fromRawData((char*)packetData, dataBytes)); + QUrl url = QUrl::fromEncoded(QByteArray((char*)packetData, dataBytes)); // invoke the set URL function on the simulate/render thread QMetaObject::invokeMethod(avatar->getVoxels(), "setVoxelURL", Q_ARG(QUrl, url));