Fixing warnings.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-01-02 16:52:07 +02:00
parent 25fc7227f0
commit b1ef2a0f7a
2 changed files with 3 additions and 3 deletions

View file

@ -283,7 +283,7 @@ quint8 VLayoutGenerator::GetMultiplier() const
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
void VLayoutGenerator::SetMultiplier(const quint8 &value) void VLayoutGenerator::SetMultiplier(quint8 value)
{ {
if (value > 10) if (value > 10)
{ {
@ -530,7 +530,7 @@ void VLayoutGenerator::SetRotationIncrease(int value)
{ {
rotationIncrease = value; rotationIncrease = value;
if ((rotationIncrease >= 1 && rotationIncrease <= 180 && 360 % rotationIncrease == 0) == false) if (not (rotationIncrease >= 1 && rotationIncrease <= 180 && 360 % rotationIncrease == 0))
{ {
rotationIncrease = 180; rotationIncrease = 180;
} }

View file

@ -106,7 +106,7 @@ public:
void SetUnitePages(bool value); void SetUnitePages(bool value);
quint8 GetMultiplier() const; quint8 GetMultiplier() const;
void SetMultiplier(const quint8 &value); void SetMultiplier(quint8 value);
bool IsStripOptimization() const; bool IsStripOptimization() const;
void SetStripOptimization(bool value); void SetStripOptimization(bool value);