diff --git a/python/plugins/fTools/doAbout.py b/python/plugins/fTools/doAbout.py index c5c95a6e91c..afd42a77418 100755 --- a/python/plugins/fTools/doAbout.py +++ b/python/plugins/fTools/doAbout.py @@ -1,16 +1,16 @@ # -*- coding: utf-8 -*- # licensed under the terms of GNU GPL 2 -# +# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. @@ -22,6 +22,7 @@ from qgis.core import * import webbrowser, os from ui_frmAbout import Ui_Dialog import resources_rc +from __init__ import version currentPath = os.path.dirname(__file__) class Dialog(QDialog, Ui_Dialog): @@ -33,7 +34,7 @@ class Dialog(QDialog, Ui_Dialog): QObject.connect(self.btnWeb, SIGNAL("clicked()"), self.openWeb) QObject.connect(self.btnHelp, SIGNAL("clicked()"), self.openHelp) self.fToolsLogo.setPixmap(QPixmap(":/icons/default/ftools_logo.png")) - self.label_3.setText("fTools 0.5.10") + self.label_3.setText( "fTools " + version() ) self.textEdit.setText(self.getText()) def getText(self):