diff options
Diffstat (limited to 'kmymoney2/plugins/ofximport/ofxpartner.cpp')
-rw-r--r-- | kmymoney2/plugins/ofximport/ofxpartner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/plugins/ofximport/ofxpartner.cpp b/kmymoney2/plugins/ofximport/ofxpartner.cpp index 804b542..651fd2a 100644 --- a/kmymoney2/plugins/ofximport/ofxpartner.cpp +++ b/kmymoney2/plugins/ofximport/ofxpartner.cpp @@ -67,7 +67,7 @@ void setDirectory(const TQString& dir) bool needReload(const TQFileInfo& i) { return ((!i.isReadable()) - || (i.lastModified().addDays(7) < TQDateTime::tqcurrentDateTime()) + || (i.lastModified().addDays(7) < TQDateTime::currentDateTime()) || (i.size() < 1024)); } @@ -240,7 +240,7 @@ OfxFiServiceInfo ServiceInfo(const TQString& fipid) // Increasing to VER=9 solved the problem. This may happen again in the // future. TQFileInfo i(guidFile.path()); - if(!i.isReadable() || i.lastModified().addDays(7) < TQDateTime::tqcurrentDateTime()) + if(!i.isReadable() || i.lastModified().addDays(7) < TQDateTime::currentDateTime()) get("", attr, KURL(TQString("http://moneycentral.msn.com/money/2005/mnynet/service/olsvcupd/OnlSvcBrandInfo.aspx?MSNGUID=&GUID=%1&SKU=3&VER=" VER).tqarg(fipid)), guidFile); TQFile f(guidFile.path()); |