Skip to content

Commit 5f6c1ba

Browse files
committed
Rewording of warning message for WFS unstable pk
1 parent 68ddf3b commit 5f6c1ba

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/plugins/offline_editing/offline_editing_plugin_gui.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ QgsSelectLayerTreeModel::QgsSelectLayerTreeModel( QgsLayerTree *rootNode, QObjec
3939

4040
int QgsSelectLayerTreeModel::columnCount( const QModelIndex &parent ) const
4141
{
42-
Q_UNUSED( parent );
4342
return QgsLayerTreeModel::columnCount( parent ) + 1;
4443
}
4544

@@ -79,10 +78,10 @@ QVariant QgsSelectLayerTreeModel::data( const QModelIndex &index, int role ) con
7978
case Qt::ToolTipRole:
8079
return tr( "The source of this layer is a <b>WFS</b> server.<br>"
8180
"Some WFS layers are not suitable for offline<br>"
82-
"editing due to unreliable/missing primary<br>"
83-
"keys, please check with your system<br>"
84-
"administrator if this WFS layer can<br>"
85-
"be used for offline editing." );
81+
"editing due to unstable primary keys<br>"
82+
"please check with your system administrator<br>"
83+
"if this WFS layer can be used for offline<br>"
84+
"editing." );
8685
break;
8786
case Qt::DecorationRole:
8887
return QgsApplication::getThemeIcon( "/mIconWarning.svg" );

0 commit comments

Comments
 (0)