mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove obsolete code related to Qt5
* Remove bundling of openssl1.1 * Remove obsolete compile flags * Remove use of obsolete RimCommandObject * Use QColor::isValidColorName QColor::isValidColor is deprecated in Qt 6.6, QColor::isValidColorName was introduced in 6.4 * Make sure debug DLLs are copied when required * Remove Qt5 from AppFwk * Remove obsolete copy of Qt DLLs
This commit is contained in:
@@ -88,7 +88,7 @@ cvf::ref<RigFormationNames> RifColorLegendData::readLyrFormationNameFile( const
|
||||
// extract last word which may contain formation color
|
||||
QString colorWord = RiaTextStringTools::splitSkipEmptyParts( numberString ).last();
|
||||
|
||||
if ( QColor::isValidColor( colorWord ) ) numberString.remove( colorWord ); // remove color if present as last word on line
|
||||
if ( QColor::isValidColorName( colorWord ) ) numberString.remove( colorWord ); // remove color if present as last word on line
|
||||
|
||||
// extract words containing formation number(s)
|
||||
QStringList numberWords = RiaTextStringTools::splitSkipEmptyParts( numberString, QRegExp( "-" ) );
|
||||
@@ -110,7 +110,7 @@ cvf::ref<RigFormationNames> RifColorLegendData::readLyrFormationNameFile( const
|
||||
startK = tmp < endK ? tmp : endK;
|
||||
endK = tmp > endK ? tmp : endK;
|
||||
|
||||
if ( QColor::isValidColor( colorWord ) ) // formation color present at end of line
|
||||
if ( QColor::isValidColorName( colorWord ) ) // formation color present at end of line
|
||||
{
|
||||
cvf::Color3f formationColor;
|
||||
|
||||
@@ -133,7 +133,7 @@ cvf::ref<RigFormationNames> RifColorLegendData::readLyrFormationNameFile( const
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( QColor::isValidColor( colorWord ) ) // formation color present at end of line
|
||||
if ( QColor::isValidColorName( colorWord ) ) // formation color present at end of line
|
||||
{
|
||||
cvf::Color3f formationColor;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user