Permalink
Browse files

Fix build on Qt5

  • Loading branch information...
aleixpol committed Jul 11, 2014
1 parent 971c9ae commit 0234e1303b56e3dd928fe78966e1d474cd8b8edb
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 0234e13

Please sign in to comment.