[SCM] ktp-auth-handler packaging branch, master, updated. debian/15.12.1-2-282-g080758e

Maximiliano Curia maxy at moszumanska.debian.org
Fri May 27 23:58:36 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-auth-handler.git;a=commitdiff;h=716964f

The following commit has been merged in the master branch:
commit 716964f7a9e151d4fc2be4637606f0089f51f61d
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Tue Dec 27 11:42:30 2011 +0100

    Use const QString&  instead of QString
---
 x-messenger-oauth2-prompt.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x-messenger-oauth2-prompt.cpp b/x-messenger-oauth2-prompt.cpp
index 61731c6..a472d3e 100644
--- a/x-messenger-oauth2-prompt.cpp
+++ b/x-messenger-oauth2-prompt.cpp
@@ -155,7 +155,7 @@ void XMessengerOAuth2Prompt::onUnsupportedContent(QNetworkReply* reply)
 void XMessengerOAuth2Prompt::extractToken(const QUrl &url)
 {
     QString accessToken;
-    Q_FOREACH(QString token, QString(url.encodedFragment()).split("&")) {
+    Q_FOREACH(const QString &token, QString(url.encodedFragment()).split('&')) {
         // Get the URL fragment part and iterate over the parameters of the request
         if (token.indexOf(tokenParameter == 0)) {
             // This is the token that we are looking for (we are not interested

-- 
ktp-auth-handler packaging



More information about the pkg-kde-commits mailing list