Fix source typo 'minimumRowHeigth'

This commit is contained in:
luz paz 2022-12-06 06:09:44 -05:00 committed by Laurent Trinques
parent a1f9d05f1c
commit 8242e4cfd7
2 changed files with 4 additions and 4 deletions

View File

@ -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;
}

View File

@ -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);