Skip to content

Conversation

viktorgino
Copy link

@viktorgino viktorgino commented Aug 16, 2019

There are some core changes in qml-gui-wip that add some new features to core, use this PR to review those changes.

@viktorgino viktorgino changed the title Pr 830 Merge core changes from qml-gui-wip Aug 16, 2019
@viktorgino viktorgino requested a review from pgrandin August 16, 2019 11:09
@pgrandin
Copy link
Contributor

I think that the build_android failure is related to https://github.com/navit-gps/navit/pull/827/files#diff-f940ede166f88341829e50c9c345047b

@viktorgino
Copy link
Author

@pgrandin should be related to this: #834

*/

void navit_drag_map(struct navit *this_, struct point *origin, struct point *destination) {
update_transformation(this_->trans, origin, destination);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this shall get a "public" function, I suggest to do some sanity checking here, like aborting if some of the parameters is NULL, issuing some err message if this is not expected. May help future users of this in calling the function right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants