qgis/QGIS — pull request #1621 by manisandro (2014-10-09 14:51:19+00:00)
Title: Bad layer dialog improvements (Funded by Sourcepole)

This commit contains the following improvements:
- The browse button is disabled if the layer data provider does not support files (a `QgsProviderRegistry::getProviderCapabilities()` method is added for this)
- Fix the `accept()` slot being fired twice (the `accept()` slot is already connected in `ui_qgshandlebadlayerbase.h`)
- Use a folder selection dialog when selecting a new directory for multiple selected items

Funded by Sourcepole QGIS Enterprise.