Commit 3323be94 authored by Bernhard Beschow's avatar Bernhard Beschow

assignment is never used

parent 52740484
......@@ -402,6 +402,7 @@ void MarbleModel::setMapTheme( GeoSceneDocument *document )
style->setPolyStyle( polyStyle );
style->setId(QStringLiteral("default"));
}
if ( sourceFileMatch && !currentDatasets[datasetIndex].colors().isEmpty() ) {
/**
* if new theme file doesn't specify any colorMap for data
......@@ -411,7 +412,6 @@ void MarbleModel::setMapTheme( GeoSceneDocument *document )
if ( style ) {
qDebug() << "setMapThemeId-> color: " << style->polyStyle().color() << " file: " << filename;
d->assignNewStyle( filename, style );
style = GeoDataStyle::Ptr();
}
else {
d->assignFillColors( data->sourceFile() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment