Skip to content
Permalink
Browse files

Fix missing break, warnings

  • Loading branch information
nyalldawson committed Jul 15, 2018
1 parent 12c8f39 commit 75fe94f3cf742bfa4c3da0e0f242f182ca1ecc43
Showing with 5 additions and 3 deletions.
  1. +5 −3 src/plugins/offline_editing/offline_editing_plugin_gui.cpp
@@ -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;
}
}
}

0 comments on commit 75fe94f

Please sign in to comment.
You can’t perform that action at this time.