mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Results Storage: Removed obsolete field. Stored the filename.
p4#: 20959
This commit is contained in:
parent
516c642cc4
commit
5860cb2e49
@ -70,7 +70,13 @@ void RimReservoirCellResultsCacher::setupBeforeSave()
|
||||
QString newValidCacheFileName = getValidCacheFileName();
|
||||
QFile cacheFile(newValidCacheFileName);
|
||||
|
||||
if (!cacheFile.open(QIODevice::WriteOnly)) qWarning() << "Saving project: Can't open the cache file : " + newValidCacheFileName;
|
||||
if (!cacheFile.open(QIODevice::WriteOnly))
|
||||
{
|
||||
qWarning() << "Saving project: Can't open the cache file : " + newValidCacheFileName;
|
||||
return;
|
||||
}
|
||||
|
||||
m_resultCacheFileName = newValidCacheFileName;
|
||||
|
||||
QDataStream stream(&cacheFile);
|
||||
stream.setVersion(QDataStream::Qt_4_0);
|
||||
|
@ -80,7 +80,6 @@ public:
|
||||
caf::PdmField<caf::AppEnum< RimDefines::ResultCatType> > m_resultType;
|
||||
caf::PdmField<QString> m_resultName;
|
||||
caf::PdmField< std::vector <QDateTime> > m_timeStepDates;
|
||||
caf::PdmField< std::vector <int> > m_timeStepHasData;
|
||||
caf::PdmField<qint64> m_filePosition;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user