We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 8ab53d1 commit d66a92fCopy full SHA for d66a92f
src/core/project/qgsprojectbadlayerhandler.cpp
@@ -13,6 +13,7 @@
13
* (at your option) any later version. *
14
* *
15
***************************************************************************/
16
+#include "qgsdatasourceuri.h"
17
#include "qgsprojectbadlayerhandler.h"
18
#include "qgslogger.h"
19
#include "qgsmessagelog.h"
@@ -27,7 +28,7 @@ void QgsProjectBadLayerHandler::handleBadLayers( const QList<QDomNode> &layers )
27
28
29
for ( const QDomNode &layer : layers )
30
{
- QgsMessageLog::logMessage( QObject::tr( " * %1" ).arg( dataSource( layer ) ) );
31
+ QgsMessageLog::logMessage( QObject::tr( " * %1" ).arg( QgsDataSourceUri::removePassword( dataSource( layer ) ) ) );
32
}
33
34
0 commit comments