summaryrefslogtreecommitdiffstats
path: root/tdenewstuff/entry.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-07 15:35:07 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-07 15:35:07 -0500
commit30c2b7e4bd6fa63d0f3431b8e82fefd81364726f (patch)
treedb230ec7e83392ce981cd80912a2b4fdf6f3a206 /tdenewstuff/entry.cpp
parente5f898219af927c9bac3aa9b0c9e9473a52dde15 (diff)
downloadtdelibs-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.cpp1
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() );
}
}