[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kaccounts-providers] /: Do not call setQuery("") since it will add ? to our url
From:       Alex Fiestas <afiestas () kde ! org>
Date:       2015-10-15 21:01:22
Message-ID: E1ZmpeM-0000yK-Bw () scm ! kde ! org
[Download RAW message or body]

Git commit aacef3462013ba6c159b0682aff810681189bd13 by Alex Fiestas.
Committed on 18/04/2012 at 14:44.
Pushed by mklapetek into branch 'master'.

Do not call setQuery("") since it will add ? to our url

M  +1    -1    basicinfo.cpp

http://commits.kde.org/kaccounts-providers/aacef3462013ba6c159b0682aff810681189bd13

diff --git a/basicinfo.cpp b/basicinfo.cpp
index 572ed99..e0d0fe0 100644
--- a/basicinfo.cpp
+++ b/basicinfo.cpp
@@ -100,7 +100,6 @@ void BasicInfo::checkServer(const QString &path)
     m_json.clear();
 
     url.setFileName("status.php");
-    url.setQuery("");
 
     checkServer(url);
 }
@@ -157,6 +156,7 @@ void BasicInfo::fileChecked(KJob* job)
 
     m_server = kJob->url();
     m_server.setFileName("");
+    qDebug() << m_server;
     setResult(true);
 
     Q_EMIT completeChanged();

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic