Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix crash on CRS validation
  • Loading branch information
jef-n committed Jan 9, 2013
1 parent 7de5ad9 commit cec3cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -382,7 +382,7 @@ void QgisApp::validateSrs( QgsCoordinateReferenceSystem &srs )
mySelector->setSelectedCrsId( defaultCrs.srsid() );
}

bool waiting = QApplication::overrideCursor()->shape() == Qt::WaitCursor;
bool waiting = QApplication::overrideCursor() && QApplication::overrideCursor()->shape() == Qt::WaitCursor;
if ( waiting )
QApplication::setOverrideCursor( Qt::ArrowCursor );

Expand Down

0 comments on commit cec3cf8

Please sign in to comment.