Skip to content
Permalink
Browse files

const list cannot be sorted

  • Loading branch information
m-kuhn committed Apr 9, 2019
1 parent 4fc6176 commit 54d58d9fa3ddcedd5de87747e47cfa424b02e803
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsmapthemecollection.cpp
@@ -528,7 +528,7 @@ void QgsMapThemeCollection::writeXml( QDomDocument &doc )
{
QDomElement visPresetsElem = doc.createElement( QStringLiteral( "visibility-presets" ) );

const auto keys = mMapThemes.keys();
auto keys = mMapThemes.keys();

std::sort( keys.begin(), keys.end() );

0 comments on commit 54d58d9

Please sign in to comment.
You can’t perform that action at this time.