Showing with 1 addition and 3 deletions.
  1. +1 −1 src/gui/qgscredentialdialog.cpp
  2. +0 −2 src/providers/wfs/qgswfssourceselect.cpp
2 changes: 1 addition & 1 deletion src/gui/qgscredentialdialog.cpp
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,6 @@ void QgsWFSSourceSelect::capabilitiesReplyFinished()
}
// handle errors
QMessageBox::critical( 0, title, mCapabilities->errorMessage() );

btnAdd->setEnabled( false );
return;
}

Expand Down