diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-07 15:35:07 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-07 15:35:07 -0500 |
commit | 30c2b7e4bd6fa63d0f3431b8e82fefd81364726f (patch) | |
tree | db230ec7e83392ce981cd80912a2b4fdf6f3a206 /tdenewstuff/entry.cpp | |
parent | e5f898219af927c9bac3aa9b0c9e9473a52dde15 (diff) | |
download | tdelibs-30c2b7e4bd6fa63d0f3431b8e82fefd81364726f.tar.gz tdelibs-30c2b7e4bd6fa63d0f3431b8e82fefd81364726f.zip |
Autodetect downloaded mime type and compare against category; if wallpaper downloads something other than image abort
This relates to Bug 2127
Diffstat (limited to 'tdenewstuff/entry.cpp')
-rw-r--r-- | tdenewstuff/entry.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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() ); } } |