From e2f069833b82e2eb7a80fb4a1fbe61f15930fd21 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Wed, 24 Jul 2013 11:29:54 +0200 Subject: [PATCH] Use same signage on comparison --- src/libtomahawk/utils/NetworkReply.cpp | 2 +- src/libtomahawk/utils/NetworkReply.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libtomahawk/utils/NetworkReply.cpp b/src/libtomahawk/utils/NetworkReply.cpp index eb45a589f..bf5ae0005 100644 --- a/src/libtomahawk/utils/NetworkReply.cpp +++ b/src/libtomahawk/utils/NetworkReply.cpp @@ -68,7 +68,7 @@ void NetworkReply::load( const QUrl& url ) { m_url = url; - m_formerUrls << url; + m_formerUrls << url.toString(); QNetworkRequest request( url ); Q_ASSERT( Tomahawk::Utils::nam() != 0 ); diff --git a/src/libtomahawk/utils/NetworkReply.h b/src/libtomahawk/utils/NetworkReply.h index 5bd5f601e..7ee0cf21f 100644 --- a/src/libtomahawk/utils/NetworkReply.h +++ b/src/libtomahawk/utils/NetworkReply.h @@ -38,8 +38,8 @@ public: void blacklistHostFromRedirection( const QString& host ); QNetworkReply* reply() const { return m_reply; } - static const uint maxRedirects = 100; - static const uint maxSameRedirects = 5; + static const int maxRedirects = 100; + static const int maxSameRedirects = 5; signals: void redirected();