Skip to content

Commit

Permalink
Indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 11, 2016
1 parent 88d3e2a commit 18b69d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/menus.py
Expand Up @@ -157,7 +157,7 @@ def addAlgorithmEntry(alg, menuName, submenuName, actionText=None, icon=None, ad
action = QAction(icon or alg.getIcon(), actionText or alg.name, iface.mainWindow())
action.triggered.connect(lambda: _executeAlgorithm(alg))
action.setObjectName("mProcessingUserMenu_%s" % alg.commandLineName())

if menuName:
menu = getMenu(menuName, iface.mainWindow().menuBar())
submenu = getMenu(submenuName, menu)
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/processing/tests/AlgorithmsTestBase.py
Expand Up @@ -84,7 +84,7 @@ def check_algorithm(self, name, defs):

expectFailure = False
if 'expectedFailure' in defs:
exec('\n'.join(defs['expectedFailure'][:-1])) in globals(), locals()
exec(('\n'.join(defs['expectedFailure'][:-1])), globals(), locals())
expectFailure = eval(defs['expectedFailure'][-1])

def doCheck():
Expand Down
4 changes: 2 additions & 2 deletions src/core/pal/rtree.hpp
Expand Up @@ -129,8 +129,8 @@ namespace pal
struct StackElement
{
StackElement()
: m_node( NULL )
, m_branchIndex( 0 )
: m_node( NULL )
, m_branchIndex( 0 )
{}
Node* m_node;
int m_branchIndex;
Expand Down

0 comments on commit 18b69d2

Please sign in to comment.