From 30c2b7e4bd6fa63d0f3431b8e82fefd81364726f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 7 Oct 2014 15:35:07 -0500 Subject: Autodetect downloaded mime type and compare against category; if wallpaper downloads something other than image abort This relates to Bug 2127 --- tdenewstuff/entry.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tdenewstuff/entry.cpp') diff --git a/tdenewstuff/entry.cpp b/tdenewstuff/entry.cpp index 3213f272e..7539bb679 100644 --- a/tdenewstuff/entry.cpp +++ b/tdenewstuff/entry.cpp @@ -343,6 +343,7 @@ void Entry::parseDomElement( const TQDomElement &element ) } if ( e.tagName() == "score" ) setRating( e.text().toInt() ); if ( e.tagName() == "downloads" ) setDownloads( e.text().toInt() ); +// if ( e.tagName() == "typename" ) setType( e.text() ); } } -- cgit v1.2.1