Skip to content
Permalink
Browse files

Bugfix for gps info widget crashing. Gettings to all in Piza

git-svn-id: http://svn.osgeo.org/qgis/trunk@13089 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Mar 19, 2010
1 parent f534fbb commit ba368c0fcfedf12455f69efa9b789dfc6294d8ee
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/app/gps/qgsgpsinformationwidget.cpp
@@ -346,7 +346,10 @@ void QgsGPSInformationWidget::connected( QgsGPSConnection *conn )
void QgsGPSInformationWidget::disconnectGps()
{
QgsGPSConnectionRegistry::instance()->unregisterConnection( mNmea );
delete mNmea;
if ( mNmea )
{
delete mNmea;
}
mGPSTextEdit->append( tr( "Disconnected..." ) );
mConnectButton->setChecked( false );
mConnectButton->setText( tr( "Connect" ) );

0 comments on commit ba368c0

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