summaryrefslogtreecommitdiffstats
path: root/src/modules/dcc/canvaswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/dcc/canvaswidget.cpp')
-rw-r--r--src/modules/dcc/canvaswidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/dcc/canvaswidget.cpp b/src/modules/dcc/canvaswidget.cpp
index 8eadbaf9..e18231a5 100644
--- a/src/modules/dcc/canvaswidget.cpp
+++ b/src/modules/dcc/canvaswidget.cpp
@@ -90,7 +90,7 @@ KviCanvasPolygon::KviCanvasPolygon(TQCanvas * c,int x,int y,TQPointArray &pnts,d
m_properties.insert("uLineWidth",TQVariant((unsigned int)0));
m_properties.insert("clrBackground",TQVariant(TQColor(0,0,0)));
- m_properties.insert("bHasBackground",TQVariant(false,1));
+ m_properties.insert("bHasBackground",TQVariant(false));
m_dScaleFactor = dScaleFactor;
m_points = pnts;
@@ -193,7 +193,7 @@ KviCanvasEllipticItem::KviCanvasEllipticItem(TQCanvas * c,int x,int y,int w,int
m_properties.insert("uLineWidth",TQVariant((unsigned int)0));
m_properties.insert("clrBackground",TQVariant(TQColor(0,0,0)));
- m_properties.insert("bHasBackground",TQVariant(false,1));
+ m_properties.insert("bHasBackground",TQVariant(false));
// m_properties.insert("iStartAngle",TQVariant(0));
// m_properties.insert("iEndAngle",TQVariant(360));
@@ -339,7 +339,7 @@ KviCanvasRectangle::KviCanvasRectangle(TQCanvas * c,int x,int y,int w,int h)
m_properties.insert("uLineWidth",TQVariant((unsigned int)0));
m_properties.insert("clrBackground",TQVariant(TQColor(0,0,0)));
- m_properties.insert("bHasBackground",TQVariant(false,1));
+ m_properties.insert("bHasBackground",TQVariant(false));
}
KviCanvasRectangle::~KviCanvasRectangle()
@@ -1325,7 +1325,7 @@ void KviVariantTableItem::setContentFromEditor(TQWidget * w)
m_property = TQVariant(((TQLineEdit *)w)->text().toUInt());
break;
case TQVariant::Bool:
- m_property = TQVariant(((TQComboBox *)w)->currentItem(),1);
+ m_property = TQVariant(((TQComboBox *)w)->currentItem());
break;
case TQVariant::Color:
m_property.asColor().setNamedColor(((TQLineEdit *)w)->text());