Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
|
@@ -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) |
|
|
|
@@ -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(): |
|
|
|
@@ -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; |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.