Modifications to build successfully with -Werror -Wall -Wpedantic.

This commit is contained in:
Jim Evins
2017-04-07 20:37:25 -04:00
parent 8184027c05
commit cc354d06da
13 changed files with 36 additions and 25 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ namespace glabels
FrameRound::FrameRound( const Distance& r,
const Distance& waste,
const QString& id )
: mR(r), mWaste(waste), Frame(id)
: Frame(id), mR(r), mWaste(waste)
{
mPath.addEllipse( 0, 0, 2*mR.pt(), 2*mR.pt() );
mClipPath.addEllipse( -mWaste.pt(), -mWaste.pt(),
@@ -39,7 +39,7 @@ namespace glabels
FrameRound::FrameRound( const FrameRound& other )
: mR(other.mR), mWaste(other.mWaste), mPath(other.mPath), Frame(other)
: Frame(other), mR(other.mR), mWaste(other.mWaste), mPath(other.mPath)
{
// empty
}