Add comments and better format of the code
This commit is contained in:
@@ -49,7 +49,7 @@ QColor CaptureModification::getColor() const {
|
||||
QVector<QPoint> CaptureModification::getPoints() const {
|
||||
return m_coords;
|
||||
}
|
||||
|
||||
// addPoint adds a point to the vector of points
|
||||
void CaptureModification::addPoint(const QPoint p) {
|
||||
if (m_type == Button::Type::circle || m_type == Button::Type::rectangle
|
||||
|| m_type == Button::Type::arrow || m_type == Button::Type::line ||
|
||||
|
||||
Reference in New Issue
Block a user