Date: Tue, 28 Aug 2018 10:59:46 +0000 (UTC) From: Adriaan de Groot <adridg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478298 - head/lang/kturtle-kde4/files Message-ID: <201808281059.w7SAxkGh062440@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adridg Date: Tue Aug 28 10:59:46 2018 New Revision: 478298 URL: https://svnweb.freebsd.org/changeset/ports/478298 Log: Fix build with clang7 PR: 230944 Reported by: jbeich Added: head/lang/kturtle-kde4/files/ head/lang/kturtle-kde4/files/patch-src_canvas.cpp (contents, props changed) Added: head/lang/kturtle-kde4/files/patch-src_canvas.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/kturtle-kde4/files/patch-src_canvas.cpp Tue Aug 28 10:59:46 2018 (r478298) @@ -0,0 +1,19 @@ +--- src/canvas.cpp.orig 2018-08-28 10:55:27 UTC ++++ src/canvas.cpp +@@ -209,11 +209,11 @@ void Canvas::slotPrint(const QString& te + void Canvas::slotFontType(const QString& family, const QString& extra) + { + textFont->setFamily(family); +- textFont->setBold(extra.contains(i18n("bold")) > 0); +- textFont->setItalic(extra.contains(i18n("italic")) > 0); +- textFont->setUnderline(extra.contains(i18n("underline")) > 0); +- textFont->setOverline(extra.contains(i18n("overline")) > 0); +- textFont->setStrikeOut(extra.contains(i18n("strikeout")) > 0); ++ textFont->setBold(bool(extra.contains(i18n("bold")))); ++ textFont->setItalic(bool(extra.contains(i18n("italic")))); ++ textFont->setUnderline(bool(extra.contains(i18n("underline")))); ++ textFont->setOverline(bool(extra.contains(i18n("overline")))); ++ textFont->setStrikeOut(bool(extra.contains(i18n("strikeout")))); + } + + void Canvas::slotReset()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808281059.w7SAxkGh062440>