Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Dec 20, 2016
1 parent 1ad6e0b commit c4a0c47
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/fieldkit/qgsvaluemapfieldkit.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class CORE_EXPORT QgsValueMapFieldKit : public QgsFieldKit

QString representValue( QgsVectorLayer* layer, int fieldIndex, const QVariantMap& config, const QVariant& cache, const QVariant& value ) const override;

QVariant sortValue( QgsVectorLayer* layer, int fieldIndex, const QVariantMap& config, const QVariant& cache, const QVariant& value ) const;
QVariant sortValue( QgsVectorLayer* layer, int fieldIndex, const QVariantMap& config, const QVariant& cache, const QVariant& value ) const override;
};

#endif // QGSVALUEMAPFIELDKIT_H
2 changes: 2 additions & 0 deletions src/core/qgsfieldkit.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ class QgsVectorLayer;
* field kits for use within code should normally be obtained from there.
*
* This is an abstract base class and will always need to be subclassed.
*
* @Note added in QGIS 3.0
*/
class CORE_EXPORT QgsFieldKit
{
Expand Down
2 changes: 2 additions & 0 deletions src/core/qgsfieldkitregistry.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class QgsFieldKit;
* The QgsFieldKitRegistry manages registered classes of QgsFieldKit.
* A reference to the QgsFieldKitRegistry can be obtained from
* QgsApplication::fieldKitRegistry().
*
* @note Added in QGIS 3.0
*/
class CORE_EXPORT QgsFieldKitRegistry : public QObject
{
Expand Down

0 comments on commit c4a0c47

Please sign in to comment.