Be quiet
This commit is contained in:
parent
89632643aa
commit
e74c73db3c
1 changed files with 5 additions and 7 deletions
|
@ -26,7 +26,10 @@
|
|||
|
||||
#include <qjson/parser.h>
|
||||
#include <QtXml/QXmlStreamReader>
|
||||
#include <QDebug>
|
||||
|
||||
// KDE
|
||||
|
||||
#include <kdebug.h>
|
||||
|
||||
namespace Danbooru {
|
||||
|
||||
|
@ -38,16 +41,10 @@ namespace Danbooru {
|
|||
KUrl danbooruUrl = KUrl(url);
|
||||
danbooruUrl.addPath(path);
|
||||
|
||||
qDebug() << "Starting step URL" << danbooruUrl.url();
|
||||
qDebug() << "Tags" << tags;
|
||||
|
||||
// If we have parameters, add them
|
||||
|
||||
if (!parameters.isEmpty()) {
|
||||
|
||||
qDebug() << "Handling parameters";
|
||||
qDebug() << "Adding" << parameters;
|
||||
|
||||
QMap<QString, QString>::const_iterator iter;
|
||||
|
||||
for (iter = parameters.constBegin(); iter!= parameters.constEnd();
|
||||
|
@ -147,6 +144,7 @@ namespace Danbooru {
|
|||
|
||||
if (values.isEmpty()) {
|
||||
*result = false;
|
||||
kWarning() << "No results found when parsing XML";
|
||||
return QList<QVariant>();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue