D19329: allow GeoDataCoordinates::toString() to create an ISO 6709 conforming string
Torsten Rahn
noreply at phabricator.kde.org
Tue Feb 26 10:50:18 GMT 2019
rahn added a comment.
apart from the Boolean issue this looks good to me and can be submitted.
INLINE COMMENTS
> GeoDataCoordinates.h:392
> */
> - QString toString( GeoDataCoordinates::Notation notation, int precision = -1 ) const;
> + QString toString( GeoDataCoordinates::Notation notation, int precision = -1, bool orderLatLon = false ) const;
>
such booleans as parameters always look dull (https://ariya.io/2011/08/hall-of-api-shame-boolean-trap). What about using an enum instead ?
REPOSITORY
R34 Marble
REVISION DETAIL
https://phabricator.kde.org/D19329
To: mkoller, #marble_general, rahn, nienhueser
Cc: marble-devel, kde-edu, torhamzed, jalvarez, mnafees, shentey, chaz6, dkolozsvari, narvaez, cmihalache, rahn, apol, nienhueser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20190226/4b06b75b/attachment-0001.html>
More information about the Marble-devel
mailing list