only update when we have something stored previously

This commit is contained in:
Aaron Seigo 2011-04-29 00:21:45 +02:00 committed by Marco Martin
parent a9814bd642
commit 69d7a00ba9

View File

@ -252,7 +252,7 @@ void DataContainerPrivate::populateFromStoredData(KJob *job)
// Only fill the source with old stored
// data if it is not already populated with new data.
if (data.isEmpty()) {
if (data.isEmpty() && !ret->data().isEmpty()) {
data = ret->data();
dirty = true;
q->checkForUpdate();