Skip to content

Commit

Permalink
Attacher: coding and translation style fixes
Browse files Browse the repository at this point in the history
Replace QObject::tr() with qApp->translate, as suggested by @wwmayer
Curly braces around nested ifs.
Fix misleading comment in Attacher.h
  • Loading branch information
DeepSOIC committed Apr 21, 2016
1 parent 4a1a148 commit 6eb450b
Show file tree
Hide file tree
Showing 2 changed files with 157 additions and 151 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Part/App/Attacher.h
Expand Up @@ -104,7 +104,7 @@ enum eSuggestResult{

/**
* @brief The eRefType enum lists the types of references. If adding one, see
* also AttachEngine::getShapeType(), AttachEngine::downgradeType(), TaskDatumParameters.cpp/getShTypeText()
* also AttachEngine::getShapeType(), AttachEngine::downgradeType(), AttacherTexts.cpp/getShTypeText()
*/
enum eRefType {
//topo //ranks: (number of times the type is downgradable)
Expand Down

0 comments on commit 6eb450b

Please sign in to comment.