"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/server/qgsconfigcache.cpp" between
QGIS-final-3_14_15.tar.gz and QGIS-final-3_14_16.tar.gz

About: QGIS (Quantum GIS) is a Geographic Information System that supports vector, raster, and database formats. Latest release (3.14.x series).

qgsconfigcache.cpp  (QGIS-final-3_14_15):qgsconfigcache.cpp  (QGIS-final-3_14_16)
skipping to change at line 97 skipping to change at line 97
mProjectCache.insert( path, prj.release() ); mProjectCache.insert( path, prj.release() );
mFileSystemWatcher.addPath( path ); mFileSystemWatcher.addPath( path );
} }
else else
{ {
QgsMessageLog::logMessage( QgsMessageLog::logMessage(
QStringLiteral( "Error when loading project file '%1': %2 " ).arg( path, prj->error() ), QStringLiteral( "Error when loading project file '%1': %2 " ).arg( path, prj->error() ),
QStringLiteral( "Server" ), Qgis::Critical ); QStringLiteral( "Server" ), Qgis::Critical );
} }
} }
QgsProject::setInstance( mProjectCache[ path ] );
return mProjectCache[ path ]; return mProjectCache[ path ];
} }
QDomDocument *QgsConfigCache::xmlDocument( const QString &filePath ) QDomDocument *QgsConfigCache::xmlDocument( const QString &filePath )
{ {
//first open file //first open file
QFile configFile( filePath ); QFile configFile( filePath );
if ( !configFile.exists() ) if ( !configFile.exists() )
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)