Skip to content

Commit

Permalink
[sextante] minor code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Mar 20, 2013
1 parent 0105a6f commit c182e8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion python/plugins/sextante/core/GeoAlgorithm.py
Expand Up @@ -64,8 +64,9 @@ def __init__(self):
self.provider = None

self.defineCharacteristics()

def getCopy(self):
'''returns a new instance of this algorithm, ready to be used for being executed'''
newone = copy.copy(self)
newone.parameters = copy.deepcopy(self.parameters)
newone.outputs = copy.deepcopy(self.outputs)
Expand Down
3 changes: 0 additions & 3 deletions python/plugins/sextante/gui/AlgorithmExecutionDialog.py
Expand Up @@ -97,9 +97,6 @@ def __init__(self, alg, mainWidget):
self.verticalLayout.addWidget(self.tabWidget)
self.logText = QTextEdit()
self.logText.readOnly = True
useThreads = SextanteConfig.getSetting(SextanteConfig.USE_THREADS)
keepOpen = SextanteConfig.getSetting(SextanteConfig.KEEP_DIALOG_OPEN)
#if useThreads or keepOpen:
self.tabWidget.addTab(self.logText, "Log")
self.webView = QtWebKit.QWebView()
cssUrl = QtCore.QUrl(os.path.join(os.path.dirname(__file__), "help", "help.css"))
Expand Down

0 comments on commit c182e8a

Please sign in to comment.