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

Gui: Use auto and range-based for #7481

Merged
merged 3 commits into from Sep 14, 2022
Merged

Conversation

berniev
Copy link
Contributor

@berniev berniev commented Sep 13, 2022

Thank you for creating a pull request to contribute to FreeCAD! To ease integration, we ask you to conform to the following items. Pull requests which don't satisfy all the items below might be rejected. If you are in doubt with any of the items below, don't hesitate to ask for help in the FreeCAD forum!

  • Your pull request is confined strictly to a single module. That is, all the files changed by your pull request are either in App, Base, Gui or one of the Mod subfolders. If you need to make changes in several locations, make several pull requests and wait for the first one to be merged before submitting the next ones
  • In case your pull request does more than just fixing small bugs, make sure you discussed your ideas with other developers on the FreeCAD forum
  • Your branch is rebased on latest master git pull --rebase upstream master
  • All FreeCAD unit tests are confirmed to pass by running ./bin/FreeCAD --run-test 0
  • All commit messages are well-written ex: Fixes typo in Draft Move command text
  • Your pull request is well written and has a good description, and its title starts with the module name, ex: Draft: Fixed typos
  • Commit messages include issue #<id> or fixes #<id> where <id> is the issue ID number from our Issues database in case a particular commit solves or is related to an existing issue. Ex: Draft: fix typos - fixes #4805

And please remember to update the Wiki with the features added or changed once this PR is merged.
Note: If you don't have wiki access, then please mention your contribution on the 1.0 Changelog Forum Thread.


@github-actions github-actions bot added the Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD label Sep 13, 2022
@berndhahnebach
Copy link
Contributor

pipeline status for feature branch PR_7481. Pipeline 638334212 was triggered at 3f22bdb. All CI branches and pipelines.

src/Gui/DlgToolbarsImp.cpp Outdated Show resolved Hide resolved
src/Gui/Document.cpp Outdated Show resolved Hide resolved
src/Gui/InputField.cpp Outdated Show resolved Hide resolved
src/Gui/InputField.cpp Outdated Show resolved Hide resolved
src/Gui/NaviCube.cpp Outdated Show resolved Hide resolved
src/Gui/NaviCube.cpp Outdated Show resolved Hide resolved
src/Gui/SpinBox.cpp Outdated Show resolved Hide resolved
src/Gui/SpinBox.cpp Outdated Show resolved Hide resolved
Copy link
Member

@chennes chennes left a comment

Choose a reason for hiding this comment

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

Thanks for the PR -- I've left a few comments where I had questions, or there were issues (all very minor).

@chennes chennes self-assigned this Sep 13, 2022
@berndhahnebach
Copy link
Contributor

pipeline status for feature branch PR_7481. Pipeline 639491067 was triggered at 27ea890. All CI branches and pipelines.

@berndhahnebach
Copy link
Contributor

pipeline status for feature branch PR_7481. Pipeline 639528157 was triggered at 2f24c1b. All CI branches and pipelines.

@chennes chennes merged commit 75acacd into FreeCAD:master Sep 14, 2022
@berniev berniev deleted the Gui_UseAuto branch September 14, 2022 18:54
LarryWoestman pushed a commit to LarryWoestman/FreeCAD that referenced this pull request Oct 9, 2022
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto. 
* When possible use a ranged for loop instead of begin() and end() iterators
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants