mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
display correct fTools version in About dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@15319 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
3ecc6a9d82
commit
d8b56da8b2
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user