Skip to content

Commit b4ea9e2

Browse files
author
alexbruy
committed
display correct fTools version in About dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15319 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 42ab6b2 commit b4ea9e2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

python/plugins/fTools/doAbout.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# -*- coding: utf-8 -*-
22
# licensed under the terms of GNU GPL 2
3-
#
3+
#
44
# This program is free software; you can redistribute it and/or modify
55
# it under the terms of the GNU General Public License as published by
66
# the Free Software Foundation; either version 2 of the License, or
77
# (at your option) any later version.
8-
#
8+
#
99
# This program is distributed in the hope that it will be useful,
1010
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
# GNU General Public License for more details.
13-
#
13+
#
1414
# You should have received a copy of the GNU General Public License along
1515
# with this program; if not, write to the Free Software Foundation, Inc.,
1616
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
@@ -22,6 +22,7 @@
2222
import webbrowser, os
2323
from ui_frmAbout import Ui_Dialog
2424
import resources_rc
25+
from __init__ import version
2526
currentPath = os.path.dirname(__file__)
2627

2728
class Dialog(QDialog, Ui_Dialog):
@@ -33,7 +34,7 @@ def __init__(self, iface):
3334
QObject.connect(self.btnWeb, SIGNAL("clicked()"), self.openWeb)
3435
QObject.connect(self.btnHelp, SIGNAL("clicked()"), self.openHelp)
3536
self.fToolsLogo.setPixmap(QPixmap(":/icons/default/ftools_logo.png"))
36-
self.label_3.setText("fTools 0.5.10")
37+
self.label_3.setText( "fTools " + version() )
3738
self.textEdit.setText(self.getText())
3839

3940
def getText(self):

0 commit comments

Comments
 (0)