diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-09-03 14:16:57 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-09-03 14:17:34 (GMT) |
commit | d05aa6a493b532b90466cc106c0f8bb05d8ca41f (patch) | |
tree | 707242b26c1dea7e8f0326f4f35faff6301f1f75 /examples/script/context2d | |
parent | 99929a28df4812c86b4aabc4d02490d9fac87e85 (diff) | |
download | Qt-d05aa6a493b532b90466cc106c0f8bb05d8ca41f.zip Qt-d05aa6a493b532b90466cc106c0f8bb05d8ca41f.tar.gz Qt-d05aa6a493b532b90466cc106c0f8bb05d8ca41f.tar.bz2 |
Fix more warnings for mingw
Diffstat (limited to 'examples/script/context2d')
-rw-r--r-- | examples/script/context2d/context2d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/script/context2d/context2d.cpp b/examples/script/context2d/context2d.cpp index 5b4a1cf..05352cd 100644 --- a/examples/script/context2d/context2d.cpp +++ b/examples/script/context2d/context2d.cpp @@ -369,7 +369,7 @@ void Context2D::setLineCap(const QString &capString) style = Qt::RoundCap; else if (capString == "square") style = Qt::SquareCap; - else if (capString == "butt") + else //if (capString == "butt") style = Qt::FlatCap; m_state.lineCap = style; m_state.flags |= DirtyLineCap; @@ -397,7 +397,7 @@ void Context2D::setLineJoin(const QString &joinString) style = Qt::RoundJoin; else if (joinString == "bevel") style = Qt::BevelJoin; - else if (joinString == "miter") + else //if (joinString == "miter") style = Qt::MiterJoin; m_state.lineJoin = style; m_state.flags |= DirtyLineJoin; |