Navigation Menu

Skip to content

Commit

Permalink
display correct fTools version in About dialog
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@15319 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
alexbruy committed Mar 3, 2011
1 parent 3ecc6a9 commit d8b56da
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions 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.
Expand All @@ -22,6 +22,7 @@
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):
Expand All @@ -33,7 +34,7 @@ def __init__(self, iface):
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):
Expand Down

0 comments on commit d8b56da

Please sign in to comment.