From 8242e4cfd766ceeca136b8b3ad145662b8647146 Mon Sep 17 00:00:00 2001 From: luz paz Date: Tue, 6 Dec 2022 06:09:44 -0500 Subject: [PATCH] Fix source typo 'minimumRowHeigth' --- sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.cpp | 6 +++--- sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.cpp b/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.cpp index 67ce4a02f..b851a4a1d 100644 --- a/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.cpp +++ b/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.cpp @@ -65,7 +65,7 @@ void QetGraphicsTableItem::adjustTableToFolio( //Calcul the maximum row to display to fit the nomenclature into diagram auto available_height = drawable_rect.height() - table->pos().y(); - auto min_row_height = table->minimumRowHeigth(); + auto min_row_height = table->minimumRowHeight(); table->setDisplayNRow(int(floor(available_height/min_row_height))); //Convert a double to int, but max_row_to_display is already rounded an integer so we assume everything is ok } @@ -564,10 +564,10 @@ void QetGraphicsTableItem::initLink() } /** - @brief QetGraphicsTableItem::minimumRowHeigth + @brief QetGraphicsTableItem::minimumRowHeight @return the minimum height of a row */ -int QetGraphicsTableItem::minimumRowHeigth() const +int QetGraphicsTableItem::minimumRowHeight() const { return m_minimum_row_height; } diff --git a/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.h b/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.h index aad1eaf4e..b0b5261dc 100644 --- a/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.h +++ b/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.h @@ -85,7 +85,7 @@ class QetGraphicsTableItem : public QetGraphicsItem void setToMinimumHeight(); void initLink(); QUuid uuid() const {return m_uuid;} - int minimumRowHeigth() const; + int minimumRowHeight() const; QDomElement toXml(QDomDocument &dom_document) const; void fromXml(const QDomElement &dom_element);