0001-Fix-crash-when-authentication-fails.-Fix-7913.patch

Laurent Defert, 2013-05-29 08:45 AM

Download (2.84 KB)

View differences:

src/gui/qgscredentialdialog.cpp
64 64

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

  
69 69
  QApplication::restoreOverrideCursor();
70 70

  
src/providers/wfs/qgswfssourceselect.cpp
207 207
    }
208 208
    // handle errors
209 209
    QMessageBox::critical( 0, title, mCapabilities->errorMessage() );
210

  
211
    btnAdd->setEnabled( false );
212 210
    return;
213 211
  }
214 212

  
215
-