mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
version number now fetched from VERSION set by configure
git-svn-id: http://svn.osgeo.org/qgis/trunk@951 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
011a97d30c
commit
e2f0d015be
@ -16,9 +16,11 @@ namespace QGis
|
|||||||
// Version constants
|
// Version constants
|
||||||
//
|
//
|
||||||
// Version string
|
// Version string
|
||||||
static const char *qgisVersion = "0.2 Development 'Pumpkin'";
|
static const char *qgisVersion = VERSION;
|
||||||
// Version number used for comparing versions using the "Check QGIS Version" function
|
// Version number used for comparing versions using the "Check QGIS Version" function
|
||||||
static const int qgisVersionInt =200;
|
static const int qgisVersionInt =200;
|
||||||
|
// Release name
|
||||||
|
static const char *qgisReleaseName = "Pumpkin";
|
||||||
|
|
||||||
// Enumerations
|
// Enumerations
|
||||||
//
|
//
|
||||||
|
@ -260,7 +260,8 @@ QgisApp::QgisApp(QWidget * parent, const char *name, WFlags fl):QgisAppBase(pare
|
|||||||
mapLegend->setMapCanvas(mapCanvas);
|
mapLegend->setMapCanvas(mapCanvas);
|
||||||
mapLegend->setResizeMode(QListView::AllColumns);
|
mapLegend->setResizeMode(QListView::AllColumns);
|
||||||
QString caption = tr("Quantum GIS - ");
|
QString caption = tr("Quantum GIS - ");
|
||||||
caption += QGis::qgisVersion;
|
caption += QString("%1 ('%2')").arg(QGis::qgisVersion).arg(QGis::qgisReleaseName);
|
||||||
|
|
||||||
setCaption(caption);
|
setCaption(caption);
|
||||||
connect(mapCanvas, SIGNAL(xyCoordinates(QgsPoint &)), this, SLOT(showMouseCoordinate(QgsPoint &)));
|
connect(mapCanvas, SIGNAL(xyCoordinates(QgsPoint &)), this, SLOT(showMouseCoordinate(QgsPoint &)));
|
||||||
connect(mapLegend, SIGNAL(doubleClicked(QListViewItem *)), this, SLOT(layerProperties(QListViewItem *)));
|
connect(mapLegend, SIGNAL(doubleClicked(QListViewItem *)), this, SLOT(layerProperties(QListViewItem *)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user