Fix indent

This commit is contained in:
David Marteau 2016-12-31 14:01:16 +01:00
parent 0150dfb728
commit fc7c0f0560
3 changed files with 6 additions and 4 deletions

View File

@ -44,8 +44,8 @@ class QgsServiceModule
* Ask module to registe all provided services
* @param registry QgsServiceRegistry
*/
virtual void registerSelf( QgsServiceRegistry& registry,
QgsServerInterface* serverIface = nullptr ) = 0;
virtual void registerSelf( QgsServiceRegistry& registry,
QgsServerInterface* serverIface = nullptr ) = 0;
};

View File

@ -68,7 +68,7 @@ void QgsServiceNativeLoader::loadModules( const QString& modulePath, QgsServiceR
moduleDir.setNameFilters( QStringList( "*.so" ) );
#endif
qDebug() << QString( "Checking %1 for native services modules" ).arg( moduleDir.path() );
qDebug() << QString( "Checking %1 for native services modules" ).arg( moduleDir.path() );
//QgsDebugMsg( QString( "Checking %1 for native services modules" ).arg( moduleDir.path() ) );
Q_FOREACH ( const QFileInfo& fi, moduleDir.entryInfoList() )
@ -98,7 +98,7 @@ QgsServiceModule* QgsServiceNativeLoader::loadNativeModule( const QString& locat
qDebug() << QString( "Loading native module %1" ).arg( location );
if ( !lib.load() )
{
qDebug() << QString( "Failed to load library %1: %2" ).arg( lib.fileName(), lib.errorString());
qDebug() << QString( "Failed to load library %1: %2" ).arg( lib.fileName(), lib.errorString() );
QgsMessageLog::logMessage( QString( "Failed to load library %1: %2" ).arg( lib.fileName(), lib.errorString() ) );
return nullptr;
}

View File

@ -119,11 +119,13 @@ namespace QgsWms
QDomDocument getSchemaExtension();
private:
//! Don't use the default constructor
QgsWmsServer();
// Render these public (Transitional)
public:
/** Initializes WMS layers and configures rendering.
* @param layersList out: list with WMS layer names
* @param stylesList out: list with WMS style names