Skip to content

Commit

Permalink
UTF8 support for QgsRasterDataProvider::cStringList2Q_ (#4345)
Browse files Browse the repository at this point in the history
UTF8 support for QgsRasterDataProvider::cStringList2Q_.

Fix #15978
  • Loading branch information
mj10777 authored and m-kuhn committed Apr 10, 2017
1 parent 9837c99 commit 5ab8e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/raster/qgsrasterdataprovider.cpp
Expand Up @@ -233,7 +233,7 @@ QStringList QgsRasterDataProvider::cStringList2Q_( char **stringList )
// presume null terminated string list
for ( qgssize i = 0; stringList[i]; ++i )
{
strings.append( stringList[i] );
strings.append( QString::fromUtf8( stringList[i] ) );
}

return strings;
Expand Down

0 comments on commit 5ab8e71

Please sign in to comment.