Permalink
Browse files

Merge pull request #3 from aleixpol/master

Fix build on Qt5
  • Loading branch information...
ayoy committed Jul 11, 2014
2 parents 971c9ae + 0234e13 commit 8b2f57fca81534f7992f04c6520dd82264a4b640
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/interface.cpp
@@ -1014,7 +1014,7 @@ QByteArray QOAuth::InterfacePrivate::createSignature( const QString &requestUrl,
// 1. create the method string
QByteArray httpMethodString = httpMethodToString( httpMethod );
// 2. prepare percent-encoded request URL
QByteArray percentRequestUrl = requestUrl.toAscii().toPercentEncoding();
QByteArray percentRequestUrl = requestUrl.toLatin1().toPercentEncoding();
// 3. prepare percent-encoded parameters string
params->insert( InterfacePrivate::ParamConsumerKey, consumerKey );
params->insert( InterfacePrivate::ParamNonce, nonce );

0 comments on commit 8b2f57f

Please sign in to comment.