Skip to content

Commit 6a64a55

Browse files
committedJan 30, 2017
rename Store into Registry
1 parent 5b42d4a commit 6a64a55

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎src/server/qgsserver.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,15 +353,15 @@ void QgsServer::handleRequest( QgsServerRequest& request, QgsServerResponse& res
353353
QString configFilePath = configPath( *sConfigFilePath, parameterMap );
354354

355355
// load the project if needed and not empty
356-
auto projectIt = mProjectStore.find( configFilePath );
357-
if ( projectIt == mProjectStore.constEnd() )
356+
auto projectIt = mProjectRegistry.find( configFilePath );
357+
if ( projectIt == mProjectRegistry.constEnd() )
358358
{
359359
// load the project
360360
QgsProject* project = new QgsProject();
361361
project->setFileName( configFilePath );
362362
if ( project->read() )
363363
{
364-
projectIt = mProjectStore.insert( configFilePath, project );
364+
projectIt = mProjectRegistry.insert( configFilePath, project );
365365
}
366366
else
367367
{

‎src/server/qgsserver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class SERVER_EXPORT QgsServer
133133
static QgsServerSettings sSettings;
134134

135135
// map of QgsProject
136-
QMap<QString, const QgsProject*> mProjectStore;
136+
QMap<QString, const QgsProject*> mProjectRegistry;
137137
};
138138
#endif // QGSSERVER_H
139139

0 commit comments

Comments
 (0)
Please sign in to comment.