Please sign in to comment.
Remove duplicate QgsRasterLayer constructor
Avoids confusing overload behavior when constructing QgsRasterLayers from c++ code. This extra constructor was causing character literals to be converted to a boolean loadDefaultStyle flag instead of being used as the provider key. Removing the extra constructor avoids this, and removes some duplicate code.
- Loading branch information
Showing with 7 additions and 56 deletions.