Cppcheck warning.
This commit is contained in:
parent
e5105e4eed
commit
cfac8e8355
|
@ -404,7 +404,7 @@ QPointF VLayoutExporter::offset() const
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VLayoutExporter::SetOffset(QPointF newOffset)
|
void VLayoutExporter::SetOffset(const QPointF &newOffset)
|
||||||
{
|
{
|
||||||
m_offset = newOffset;
|
m_offset = newOffset;
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,7 +98,7 @@ public:
|
||||||
static QString ExportFormatSuffix(LayoutExportFormats format);
|
static QString ExportFormatSuffix(LayoutExportFormats format);
|
||||||
|
|
||||||
auto offset() const -> QPointF;
|
auto offset() const -> QPointF;
|
||||||
void SetOffset(QPointF newOffset);
|
void SetOffset(const QPointF &newOffset);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QString m_fileName{};
|
QString m_fileName{};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user