From kde-commits Thu Jun 16 01:25:40 2011 From: Raphael Kubo da Costa Date: Thu, 16 Jun 2011 01:25:40 +0000 To: kde-commits Subject: KDE/kdemultimedia/juk Message-Id: <20110616012540.46EF0AC7E2 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=130818759105090 SVN commit 1236945 by rkcosta: Replace some deprecated API with its Qt4/KDE4 equivalent. M +1 -2 ktrm.cpp --- trunk/KDE/kdemultimedia/juk/ktrm.cpp #1236944:1236945 @@ -27,7 +27,6 @@ #ifdef HAVE_TUNEPIMP //Silence warning about HAVE_TUNEPIMP not being defined. #if HAVE_TUNEPIMP -#include #include #include #include @@ -169,7 +168,7 @@ // Check what hosts are allowed to proceed without being proxied, // or if using reversed proxy, what hosts must be proxied. foreach(const QString &host, noProxies) { - QString normalizedHost = KNetwork::KResolver::normalizeDomain(host); + const QString normalizedHost(KUrl::fromAce(KUrl::toAce(host))); if(normalizedHost == tunepimpHost || tunepimpHost.endsWith('.' + normalizedHost))