diff --git a/openlp/core/ui/aboutform.py b/openlp/core/ui/aboutform.py index ed38d280b..29f64c0cd 100644 --- a/openlp/core/ui/aboutform.py +++ b/openlp/core/ui/aboutform.py @@ -47,22 +47,21 @@ class AboutForm(QtGui.QDialog, Ui_AboutDialog): Do some initialisation stuff """ QtGui.QDialog.__init__(self, parent) - applicationVersion = get_application_version() + application_version = get_application_version() self.setupUi(self) about_text = self.about_text_edit.toPlainText() - about_text = about_text.replace(u'', applicationVersion[u'version']) - if applicationVersion[u'build']: - build_text = translate('OpenLP.AboutForm', ' build %s') % applicationVersion[u'build'] + about_text = about_text.replace(u'', application_version[u'version']) + if application_version[u'build']: + build_text = translate('OpenLP.AboutForm', ' build %s') % application_version[u'build'] else: build_text = u'' about_text = about_text.replace(u'', build_text) self.about_text_edit.setPlainText(about_text) - QtCore.QObject.connect(self.volunteer_button, QtCore.SIGNAL(u'clicked()'), self.onVolunteerButtonClicked) + QtCore.QObject.connect(self.volunteer_button, QtCore.SIGNAL(u'clicked()'), self.on_volunteer_button_clicked) - def onVolunteerButtonClicked(self): + def on_volunteer_button_clicked(self): """ Launch a web browser and go to the contribute page on the site. """ import webbrowser - url = u'http://openlp.org/en/contribute' - webbrowser.open_new(url) + webbrowser.open_new(u'http://openlp.org/en/contribute')