void QgsMapLayerStyleManager::reset() { mStyles.insert( QString(), QgsMapLayerStyle() ); // insert entry for the default current style mCurrentStyle.clear(); }
void QgsMapLayerStyleManager::reset() { mStyles.insert( defaultStyleName(), QgsMapLayerStyle() ); // insert entry for the default current style mCurrentStyle = defaultStyleName(); }