mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
Fix missing break, warnings
This commit is contained in:
parent
12c8f394a5
commit
75fe94f3cf
@ -82,10 +82,9 @@ QVariant QgsSelectLayerTreeModel::data( const QModelIndex &index, int role ) con
|
||||
"please check with your system administrator<br>"
|
||||
"if this WFS layer can be used for offline<br>"
|
||||
"editing." );
|
||||
break;
|
||||
|
||||
case Qt::DecorationRole:
|
||||
return QgsApplication::getThemeIcon( "/mIconWarning.svg" );
|
||||
break;
|
||||
return QgsApplication::getThemeIcon( QStringLiteral( "/mIconWarning.svg" ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -177,7 +176,9 @@ void QgsOfflineEditingPluginGui::mBrowseButton_clicked()
|
||||
mOfflineDataPath = QFileInfo( fileName ).absolutePath();
|
||||
mOfflineDataPathLineEdit->setText( fileName );
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case QgsOfflineEditing::SpatiaLite:
|
||||
{
|
||||
//SpaciaLite
|
||||
@ -197,6 +198,7 @@ void QgsOfflineEditingPluginGui::mBrowseButton_clicked()
|
||||
mOfflineDataPath = QFileInfo( fileName ).absolutePath();
|
||||
mOfflineDataPathLineEdit->setText( fileName );
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user