Skip to content

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed
 

‎src/plugins/grass/qgsgrassnewmapset.cpp

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,10 @@
6161
bool QgsGrassNewMapset::mRunning = false;
6262

6363
QgsGrassNewMapset::QgsGrassNewMapset ( QgisApp *qgisApp, QgisIface *iface,
64-
QgsGrassPlugin *plugin,
65-
QWidget * parent, const char * name, Qt::WFlags f )
66-
//:QgsGrassNewMapsetBase ( parent, name) //XXX removed Wflags f from this call to the base class constructor
67-
//Tim moved all parms during qt4 port - FIXME
68-
:QgsGrassNewMapsetBase ( ) //XXX removed Wflags f from this call to the base class constructor
64+
QgsGrassPlugin *plugin, QWidget * parent,
65+
const char * name, Qt::WFlags f ):
66+
Q3Wizard(parent, name, false, f),
67+
QgsGrassNewMapsetBase ( )
6968
{
7069
#ifdef QGISDEBUG
7170
std::cerr << "QgsGrassNewMapset()" << std::endl;
@@ -471,9 +470,9 @@ void QgsGrassNewMapset::setGrassProjection()
471470
#endif
472471
// Note: GPJ_osr_to_grass() defaults in PROJECTION_XY if projection
473472
// cannot be set
474-
// TODO: necessity of (void **)hSRS is maybe bug in GRASS library?
473+
475474
int ret = GPJ_osr_to_grass ( &mCellHead, &mProjInfo, &mProjUnits,
476-
(void **)hSRS, 0);
475+
&hSRS, 0);
477476

478477
// Note: I seems that GPJ_osr_to_grass()returns always 1,
479478
// -> test if mProjInfo was set
@@ -1480,13 +1479,8 @@ void QgsGrassNewMapset::pageSelected( const QString & title )
14801479

14811480
mProjectionSelector->show();
14821481

1483-
// Warning: QgsProjectionSelector::sridSelected() is not implemented!
1484-
// -> use lstCoordinateSystems directly
14851482
connect( mProjectionSelector, SIGNAL(sridSelected(QString)),
14861483
this, SLOT(sridSelected(QString)));
1487-
//connect( mProjectionSelector->lstCoordinateSystems, SIGNAL(selectionChanged ()),
1488-
// this, SLOT(projectionSelected()));
1489-
14901484

14911485
// Se current QGIS projection
14921486
int srsid = QgsProject::instance()->readNumEntry(

0 commit comments

Comments
 (0)
Please sign in to comment.