Skip to content
Permalink
Browse files

Merge pull request #623 from biolds/master

Fix crash when authentication fails. Fix #7913
  • Loading branch information
mhugent committed May 31, 2013
2 parents 32da891 + c1797fc commit ce925496c03009056978a8b343e4c7a5237973d5
Showing with 1 addition and 3 deletions.
  1. +1 −1 src/gui/qgscredentialdialog.cpp
  2. +0 −2 src/providers/wfs/qgswfssourceselect.cpp
@@ -64,7 +64,7 @@ void QgsCredentialDialog::requestCredentials( QString realm, QString *username,

QgsDebugMsg( "exec()" );
*ok = exec() == QDialog::Accepted;
QgsDebugMsg( QString( "exec(): %1" ).arg( ok ? "true" : "false" ) );
QgsDebugMsg( QString( "exec(): %1" ).arg( *ok ? "true" : "false" ) );

QApplication::restoreOverrideCursor();

@@ -207,8 +207,6 @@ void QgsWFSSourceSelect::capabilitiesReplyFinished()
}
// handle errors
QMessageBox::critical( 0, title, mCapabilities->errorMessage() );

btnAdd->setEnabled( false );
return;
}

0 comments on commit ce92549

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