Skip to content

Commit

Permalink
Merge pull request #623 from biolds/master
Browse files Browse the repository at this point in the history
Fix crash when authentication fails. Fix #7913
  • Loading branch information
mhugent committed May 31, 2013
2 parents 32da891 + c1797fc commit ce92549
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/gui/qgscredentialdialog.cpp
Expand Up @@ -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();

Expand Down
2 changes: 0 additions & 2 deletions src/providers/wfs/qgswfssourceselect.cpp
Expand Up @@ -207,8 +207,6 @@ void QgsWFSSourceSelect::capabilitiesReplyFinished()
}
// handle errors
QMessageBox::critical( 0, title, mCapabilities->errorMessage() );

btnAdd->setEnabled( false );
return;
}

Expand Down

0 comments on commit ce92549

Please sign in to comment.