Comment 2 for bug 1069072

Revision history for this message
Brian Murray (brian-murray) wrote : Re: [Report bug] mustn't run browser as root

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.