[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [libechonest] 31f6d88: fix debug build
From: Leo Franchi <lfranchi () kde ! org>
Date: 2010-10-31 23:38:59
Message-ID: 20101031233859.BB0ADA60A4 () git ! kde ! org
[Download RAW message or body]
commit 31f6d885e50a93079db9d858291407616ac2c09e
branch master
Author: Leo Franchi <lfranchi@kde.org>
Date: Sun Oct 31 19:37:52 2010 -0400
fix debug build
diff --git a/src/Catalog.cpp b/src/Catalog.cpp
index 1334bfc..6d54bb6 100644
--- a/src/Catalog.cpp
+++ b/src/Catalog.cpp
@@ -144,7 +144,7 @@ QNetworkReply* Echonest::Catalog::create(const QString& name, Echonest::CatalogT
QNetworkReply* Echonest::Catalog::deleteCatalog() const
{
QUrl url = Echonest::baseGetQuery( "catalog", "delete" );
- Q_ASSERT( !d->isEmpty() );
+ Q_ASSERT( !d->id.isEmpty() );
url.addEncodedQueryItem( "id", d->id );
return doPost( url );
@@ -182,7 +182,7 @@ QNetworkReply* Echonest::Catalog::status(const QByteArray& ticket)
QNetworkReply* Echonest::Catalog::update(const Echonest::CatalogUpdateEntries& entries) const
{
QUrl url = Echonest::baseGetQuery( "catalog", "update" );
- Q_ASSERT( !d->isEmpty() );
+ Q_ASSERT( !d->id.isEmpty() );
url.addEncodedQueryItem( "id", d->id );
return Echonest::Catalog::updatePrivate( url, entries );
}
@@ -307,7 +307,7 @@ void Echonest::Catalog::addLimits(QUrl& url, int results, int start)
QNetworkReply* Echonest::Catalog::readPrivate(QUrl& url, int results, int start) const
{
- Q_ASSERT( !d->isEmpty() );
+ Q_ASSERT( !d->id.isEmpty() );
url.addEncodedQueryItem( "id", d->id );
addLimits( url, results, start );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic