mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
another indention update
This commit is contained in:
parent
9ca7223e4a
commit
d4542feedf
@ -45,7 +45,8 @@ QString QgsSaveStyleToDbDialog::getUIFileContent()
|
||||
|
||||
void QgsSaveStyleToDbDialog::accept()
|
||||
{
|
||||
if( getName().isEmpty() ){
|
||||
if ( getName().isEmpty() )
|
||||
{
|
||||
QMessageBox::information( this, tr( "Save style in database" ), tr( "A name is mandatory" ) );
|
||||
return;
|
||||
}
|
||||
|
@ -581,7 +581,8 @@ void QgsVectorLayerProperties::on_pbnLoadDefaultStyle_clicked()
|
||||
QMessageBox::information( this, tr( "Default Style" ),
|
||||
tr( "No default style was found for this layer" ) );
|
||||
}
|
||||
else{
|
||||
else
|
||||
{
|
||||
reset();
|
||||
}
|
||||
|
||||
|
@ -1012,7 +1012,8 @@ QString QgsMapLayer::saveNamedStyle( const QString theURI, bool & theResultFlag
|
||||
return myErrorMessage;
|
||||
}
|
||||
|
||||
void QgsMapLayer::exportSldStyle( QDomDocument &doc, QString &errorMsg ){
|
||||
void QgsMapLayer::exportSldStyle( QDomDocument &doc, QString &errorMsg )
|
||||
{
|
||||
QDomDocument myDocument = QDomDocument();
|
||||
|
||||
QDomNode header = myDocument.createProcessingInstruction( "xml", "version=\"1.0\" encoding=\"UTF-8\"" );
|
||||
|
@ -3774,7 +3774,8 @@ QString QgsVectorLayer::getStyleFromDatabase(QString styleId, QString &msgError)
|
||||
|
||||
|
||||
void QgsVectorLayer::saveStyleToDatabase( QString name, QString description,
|
||||
bool useAsDefault, QString uiFileContent, QString &msgError){
|
||||
bool useAsDefault, QString uiFileContent, QString &msgError )
|
||||
{
|
||||
|
||||
QString sldStyle, qmlStyle;
|
||||
QgsProviderRegistry * pReg = QgsProviderRegistry::instance();
|
||||
|
Loading…
x
Reference in New Issue
Block a user