From 0f59db15db8b2393bbf1e1b14ef8a318679897a7 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 12 Oct 2017 10:35:22 +0300 Subject: [PATCH] Clang warning. --HG-- branch : develop --- src/libs/vmisc/vsettings.cpp | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/libs/vmisc/vsettings.cpp b/src/libs/vmisc/vsettings.cpp index 946376036..a03bb840d 100644 --- a/src/libs/vmisc/vsettings.cpp +++ b/src/libs/vmisc/vsettings.cpp @@ -512,8 +512,9 @@ void VSettings::SetRememberPatternMaterials(bool value) /** * @brief GetTiledPDFMargins returns the tiled pdf margins in the given unit. When the setting is * called for the first time, the 4 default margins are 10mm. - * @param unit - * @return + * @param unit the unit in which are the value. Necessary because we save the values + * internaly as mm so there is conversion beeing made. + * @return tiled pdf margins */ QMarginsF VSettings::GetTiledPDFMargins(const Unit &unit) const { @@ -544,8 +545,9 @@ void VSettings::SetTiledPDFMargins(const QMarginsF &value, const Unit &unit) //--------------------------------------------------------------------------------------------------------------------- /** * @brief GetTiledPDFPaperHeight returns the paper height of tiled pdf in the desired unit. - * @param unit the unit to return the value to (internally it's saved as mm) - * @return + * @param unit the unit in which are the value. Necessary because we save the values + * internaly as mm so there is conversion beeing made. + * @return tiled pdf paper height */ qreal VSettings::GetTiledPDFPaperHeight(const Unit &unit) const { @@ -565,7 +567,7 @@ qreal VSettings::GetTiledPDFPaperHeight(const Unit &unit) const //--------------------------------------------------------------------------------------------------------------------- /** * @brief SetTiledPDFPaperHeight sets the tiled pdf paper height - * @param value in Mm + * @param value in mm * @param unit unit of the given value */ void VSettings::SetTiledPDFPaperHeight(qreal value, const Unit &unit) @@ -576,8 +578,9 @@ void VSettings::SetTiledPDFPaperHeight(qreal value, const Unit &unit) //--------------------------------------------------------------------------------------------------------------------- /** * @brief GetTiledPDFPaperWidth returns the paper height of tiled pdf in the desired unit. - * @param unit the unit to return the value to (internally it's saved as mm) - * @return + * @param unit the unit in which are the value. Necessary because we save the values + * internaly as mm so there is conversion beeing made. + * @return tiled pdf paper width */ qreal VSettings::GetTiledPDFPaperWidth(const Unit &unit) const { @@ -599,7 +602,7 @@ qreal VSettings::GetTiledPDFPaperWidth(const Unit &unit) const /** * @brief SetTiledPDFPaperWidth sets the tiled pdf paper width * @param unit unit of the given value - * @param value in Mm + * @param value in mm */ void VSettings::SetTiledPDFPaperWidth(qreal value, const Unit &unit) {