403 mainLayout->addLayout(buttonLayout); |
403 mainLayout->addLayout(buttonLayout); |
404 #endif |
404 #endif |
405 |
405 |
406 setLayout(mainLayout); |
406 setLayout(mainLayout); |
407 |
407 |
408 #if defined(Q_OS_SYMBIAN) |
408 /*#if defined(Q_OS_SYMBIAN) |
409 // workaround for QTBUG-4771 |
409 // workaround for QTBUG-4771 |
410 oldTitle = windowTitle(); |
410 oldTitle = windowTitle(); |
411 connect(this, SIGNAL(finished(int)), this, SLOT(restoreWindowTitle())); |
411 connect(this, SIGNAL(finished(int)), this, SLOT(restoreWindowTitle())); |
412 #endif |
412 #endif*/ |
413 |
413 |
414 setWindowTitle(tr("Waiting for GPS fix")); |
414 setWindowTitle(tr("Waiting for GPS fix")); |
415 |
415 |
416 setModal(true); |
416 setModal(true); |
417 } |
417 } |
418 |
418 |
419 #if defined(Q_OS_SYMBIAN) |
419 /*#if defined(Q_OS_SYMBIAN) |
420 // workaround for QTBUG-4771 |
420 // workaround for QTBUG-4771 |
421 void SatelliteDialog::restoreWindowTitle() |
421 void SatelliteDialog::restoreWindowTitle() |
422 { |
422 { |
423 setWindowTitle(oldTitle); |
423 setWindowTitle(oldTitle); |
424 } |
424 } |
425 #endif |
425 #endif*/ |
426 |
426 |
427 void SatelliteDialog::connectSources(QGeoPositionInfoSource *posSource, QGeoSatelliteInfoSource *satSource) |
427 void SatelliteDialog::connectSources(QGeoPositionInfoSource *posSource, QGeoSatelliteInfoSource *satSource) |
428 { |
428 { |
429 connect(posSource, SIGNAL(positionUpdated(const QGeoPositionInfo &)), |
429 connect(posSource, SIGNAL(positionUpdated(const QGeoPositionInfo &)), |
430 this, SLOT(positionUpdated(const QGeoPositionInfo &))); |
430 this, SLOT(positionUpdated(const QGeoPositionInfo &))); |