mirror of https://github.com/KDE/kasts.git
Add TODO for enclosure file size check
This commit is contained in:
parent
8159e5a2ce
commit
71c86d5645
|
@ -35,6 +35,7 @@ Enclosure::Enclosure(Entry *entry)
|
||||||
m_url = query.value(QStringLiteral("url")).toString();
|
m_url = query.value(QStringLiteral("url")).toString();
|
||||||
m_playposition = query.value(QStringLiteral("playposition")).toInt();
|
m_playposition = query.value(QStringLiteral("playposition")).toInt();
|
||||||
|
|
||||||
|
// TODO: what to do if the rss-reported filesize doesn't match the real file size???
|
||||||
QFile file(path());
|
QFile file(path());
|
||||||
if(file.size() == m_size) {
|
if(file.size() == m_size) {
|
||||||
m_status = Downloaded;
|
m_status = Downloaded;
|
||||||
|
|
Loading…
Reference in New Issue