We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92ccbd3 commit 4e3f943Copy full SHA for 4e3f943
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