Skip to content
Permalink
Browse files

Prevent a 'missing signal/slot' message when opening the project

properties dialog box


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6299 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Dec 22, 2006
1 parent 99de4ab commit 97fffb16c40f58d8d6d9e2e42a16b5abf0566ad7
Showing with 1 addition and 17 deletions.
  1. +1 −11 src/gui/qgsprojectproperties.cpp
  2. +0 −6 src/gui/qgsprojectproperties.h
@@ -39,7 +39,7 @@
: QDialog(parent, fl)
{
setupUi(this);
connect(btnGrpMapUnits, SIGNAL(clicked(int)), this, SLOT(mapUnitChange(int)));

connect(buttonApply, SIGNAL(clicked()), this, SLOT(apply()));
connect(buttonCancel, SIGNAL(clicked()), this, SLOT(reject()));
connect(buttonOk, SIGNAL(clicked()), this, SLOT(accept()));
@@ -135,16 +135,6 @@ QGis::units QgsProjectProperties::mapUnits() const
return QgsProject::instance()->mapUnits();
}


void QgsProjectProperties::mapUnitChange(int unit)
{
/*
QgsProject::instance()->mapUnits(
static_cast<QGis::units>(unit));
*/
}


void QgsProjectProperties::setMapUnits(QGis::units unit)
{
// select the button
@@ -59,12 +59,6 @@ class QgsProjectProperties : public QDialog, private Ui::QgsProjectPropertiesBas
/*! Indicates that the projection switch is on */
bool isProjected();
public slots:
/*!
* Slot called when a new button (unit) is selected
* @param int specifying which button was selected. The button ids match the enum
* values in QGis::units
*/
void mapUnitChange(int);
/*!
* Slot called when apply button is pressed
*/

0 comments on commit 97fffb1

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