Skip to content
Permalink
Browse files

display correct fTools version in About dialog

git-svn-id: http://svn.osgeo.org/qgis/trunk@15319 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
alexbruy
alexbruy committed Mar 3, 2011
1 parent 3ecc6a9 commit d8b56da8b2c2c680bea34a3339412d8854f32e6b
Showing with 5 additions and 4 deletions.
  1. +5 −4 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 @@
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 @@ 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):

0 comments on commit d8b56da

Please sign in to comment.
You can’t perform that action at this time.