Skip to content
Permalink
Browse files

temporarily switch back to using subprocess module (addresses #6543)

  • Loading branch information
alexbruy committed Oct 25, 2012
1 parent acb0a9e commit 8459fa220a4e2c2091e4585d8ab8b742c65241be
Showing with 9 additions and 1 deletion.
  1. +9 −1 python/plugins/sextante/gui/SextanteToolbox.py
@@ -25,6 +25,7 @@

import os
import sys
import subprocess

from PyQt4.QtCore import *
from PyQt4.QtGui import *
@@ -85,7 +86,14 @@ def setupUi(self):
QMetaObject.connectSlotsByName(self)

def configureProviders(self):
QDesktopServices.openUrl(QUrl(os.path.join(os.path.dirname(__file__), os.path.pardir) + "/help/3rdParty.html"))
#QDesktopServices.openUrl(QUrl(os.path.join(os.path.dirname(__file__), os.path.pardir) + "/help/3rdParty.html"))
filename = os.path.join(os.path.dirname(__file__), "..", "help", "3rdParty.html")
if os.name == "nt":
os.startfile(filename)
elif sys.platform == "darwin":
subprocess.Popen(('open', filename))
else:
subprocess.call(('xdg-open', filename))

def showPopupMenu(self,point):
item = self.algorithmTree.itemAt(point)

0 comments on commit 8459fa2

Please sign in to comment.
You can’t perform that action at this time.