mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-30 00:29:39 -05:00
Fix some build warnings
This commit is contained in:
parent
e0a961fe52
commit
2da547d40c
@ -37,6 +37,7 @@ QString QgsMapToolShapeRectangle3PointsMetadata::id() const
|
||||
case CreateMode::Projected:
|
||||
return QgsMapToolShapeRectangle3PointsMetadata::TOOL_ID_PROJECTED;
|
||||
}
|
||||
BUILTIN_UNREACHABLE
|
||||
}
|
||||
|
||||
QString QgsMapToolShapeRectangle3PointsMetadata::name() const
|
||||
@ -48,6 +49,7 @@ QString QgsMapToolShapeRectangle3PointsMetadata::name() const
|
||||
case CreateMode::Projected:
|
||||
return QObject::tr( "Rectangle from 3 points (projected)" );
|
||||
}
|
||||
BUILTIN_UNREACHABLE
|
||||
}
|
||||
|
||||
QIcon QgsMapToolShapeRectangle3PointsMetadata::icon() const
|
||||
|
||||
@ -73,11 +73,10 @@ bool QgsMapToolCaptureAnnotationItem::supportsTechnique( CaptureTechnique techni
|
||||
case CaptureTechnique::Shape:
|
||||
return true;
|
||||
}
|
||||
BUILTIN_UNREACHABLE
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
//
|
||||
// QgsCreatePointTextItemMapTool
|
||||
//
|
||||
|
||||
@ -105,6 +105,7 @@ bool QgsMapToolCapture::supportsTechnique( QgsMapToolCapture::CaptureTechnique t
|
||||
case CaptureTechnique::Shape:
|
||||
return false;
|
||||
}
|
||||
BUILTIN_UNREACHABLE
|
||||
}
|
||||
|
||||
void QgsMapToolCapture::activate()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user