mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-27 16:57:01 -06:00
Fix build problem on Qt 4.6.x
This commit is contained in:
parent
3898b97c8a
commit
7a77b5688a
@ -141,9 +141,9 @@ void RicfFieldReader<cvf::Color3f>::readFieldData(cvf::Color3f& fieldValue, QTex
|
||||
QString fieldStringValue;
|
||||
RicfFieldReader<QString>::readFieldData(fieldStringValue, inputStream, errorMessageContainer);
|
||||
|
||||
if (QColor::isValidColor(fieldStringValue))
|
||||
QColor qColor(fieldStringValue);
|
||||
if (qColor.isValid())
|
||||
{
|
||||
QColor qColor(fieldStringValue);
|
||||
fieldValue = RiaColorTools::fromQColorTo3f(qColor);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user