Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Try to show fixed icons
- Loading branch information
Showing
with
7 additions
and
0 deletions.
-
+7
−0
src/app/qgsgeometryvalidationmodel.cpp
|
@@ -52,8 +52,15 @@ QVariant QgsGeometryValidationModel::data( const QModelIndex &index, int role ) |
|
|
|
|
|
switch ( role ) |
|
|
{ |
|
|
case Qt::DecorationRole: |
|
|
if ( topologyError->status() == QgsGeometryCheckError::StatusFixed ) |
|
|
return QgsApplication::getThemeIcon( QStringLiteral( "/algorithms/mAlgorithmCheckGeometry.svg" ) ); |
|
|
else |
|
|
return QgsApplication::getThemeIcon( QStringLiteral( "/algorithms/mAlgorithmLineIntersection.svg" ) ); |
|
|
|
|
|
case Qt::DisplayRole: |
|
|
FALLTHROUGH; |
|
|
|
|
|
case DetailsRole: |
|
|
{ |
|
|
const QgsFeatureId fid = topologyError->featureId(); |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.