This is specific to the KDE view:
def reportBug(self): """start konqueror""" #need to run this else kdesu can't run Konqueror #subprocess.call(['su', 'ubuntu', 'xhost', '+localhost']) QDesktopServices.openUrl(QUrl("https://launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+filebug"))
The gtk views just provide the user with a url and do not open the browser.
This is specific to the KDE view:
def reportBug(self):
#subprocess. call([' su', 'ubuntu', 'xhost', '+localhost'])
QDesktopServic es.openUrl( QUrl("https:/ /launchpad. net/ubuntu/ +source/ ubuntu- release- upgrader/ +filebug"))
"""start konqueror"""
#need to run this else kdesu can't run Konqueror
The gtk views just provide the user with a url and do not open the browser.