Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge core changes from qml-gui-wip #831

Open
wants to merge 10 commits into
base: trunk
Choose a base branch
from
Open

Merge core changes from qml-gui-wip #831

wants to merge 10 commits into from

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