Skip to content
Permalink
Browse files
fix crash on CRS validation
  • Loading branch information
jef-n committed Jan 9, 2013
1 parent 7de5ad9 commit cec3cf82e60388d7f37e41648f326ce622451dc1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -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 );

0 comments on commit cec3cf8

Please sign in to comment.