NOISSUE Some happy little refactors
This commit is contained in:
@ -122,7 +122,7 @@ void Meta::BaseEntity::load(Net::Mode loadType)
|
||||
}
|
||||
NetJob *job = new NetJob(QObject::tr("Download of meta file %1").arg(localFilename()));
|
||||
auto url = this->url();
|
||||
auto entry = ENV.metacache()->resolveEntry("meta", localFilename());
|
||||
auto entry = ENV->metacache()->resolveEntry("meta", localFilename());
|
||||
entry->setStale(true);
|
||||
auto dl = Net::Download::makeCached(url, entry);
|
||||
/*
|
||||
|
@ -12,8 +12,8 @@ private
|
||||
slots:
|
||||
void test_isProvidedByEnv()
|
||||
{
|
||||
QVERIFY(ENV.metadataIndex());
|
||||
QCOMPARE(ENV.metadataIndex(), ENV.metadataIndex());
|
||||
QVERIFY(ENV->metadataIndex());
|
||||
QCOMPARE(ENV->metadataIndex(), ENV->metadataIndex());
|
||||
}
|
||||
|
||||
void test_hasUid_and_getList()
|
||||
|
Reference in New Issue
Block a user