From 04a12485219f38e113932e8aa20b6bc12d8fa715 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 28 May 2019 23:09:09 +0900 Subject: Adjusted to latest TQVariant::TQVariant(bool) function. Signed-off-by: Michele Calgaro --- kugar/kudesigner_lib/canvas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kugar/kudesigner_lib/canvas.cpp') diff --git a/kugar/kudesigner_lib/canvas.cpp b/kugar/kudesigner_lib/canvas.cpp index 2bad9157..930d57b8 100644 --- a/kugar/kudesigner_lib/canvas.cpp +++ b/kugar/kudesigner_lib/canvas.cpp @@ -278,7 +278,7 @@ void Canvas::setDetailAttributes( TQDomNode *node ) attributes.namedItem( "Level" ).nodeValue().toInt(), this ); d->props[ "Level" ].setValue( attributes.namedItem( "Level" ).nodeValue().toInt() ); d->props[ "Height" ].setValue( attributes.namedItem( "Height" ).nodeValue().toInt() ); - d->props[ "Repeat" ].setValue( TQVariant( attributes.namedItem( "Repeat" ).nodeValue() == "true", 3 ) ); + d->props[ "Repeat" ].setValue( TQVariant( attributes.namedItem( "Repeat" ).nodeValue() == "true" ) ); kugarTemplate() ->details[ attributes.namedItem( "Level" ).nodeValue().toInt() ].second = d; addReportItems( node, d ); } -- cgit v1.2.1