File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -226,16 +226,15 @@ void DataInput::onFinished()
226226 qDebug () << " onFinished: url finished: lastMod:" << lastModTime << " txt: " << txt;
227227
228228 if ( lastModTime == -1 ) { // missing lastmodified
229- lastModTime = 0 ; // put as far back in time as possible
229+ lastModTime = input-> date () + 10 ; // so fake it
230230 }
231231 if ( lastModTime <= input->date () ) { // old page
232232 qDebug () << " onFinished: old url" ;
233233 // FIXME: do something better here
234234 input->setArg2 ( " Not Modified" ); // FIXME: arg2 should not be used for lastVal
235235 }
236236 else {
237- input->setDate (lastModTime); // FIXME: blinkinput vs datainput? which is which, omg marcin, really?
238-
237+ input->setDate (lastModTime); // FIXME: blinkinput vs datainput? which is which,omg marcin,really?
239238 parsePatternOrColor ( txt, type, lastModTime);
240239 }
241240 }
You can’t perform that action at this time.
0 commit comments