summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kvirc/kernel/kvi_filetransfer.cpp4
-rw-r--r--src/modules/dcc/canvaswidget.cpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/kvirc/kernel/kvi_filetransfer.cpp b/src/kvirc/kernel/kvi_filetransfer.cpp
index 64411fec..35d84287 100644
--- a/src/kvirc/kernel/kvi_filetransfer.cpp
+++ b/src/kvirc/kernel/kvi_filetransfer.cpp
@@ -90,8 +90,8 @@ void KviFileTransferManager::invokeTransferWindow(KviWindow * pWnd,bool bCreateM
{
KviPointerHashTable<TQString,TQVariant> d(7,false);
d.setAutoDelete(true);
- d.replace("bCreateMinimized",new TQVariant(bCreateMinimized,0));
- d.replace("bNoRaise",new TQVariant(bNoRaise,0));
+ d.replace("bCreateMinimized",new TQVariant(bCreateMinimized));
+ d.replace("bNoRaise",new TQVariant(bNoRaise));
KviModuleExtensionManager::instance()->allocateExtension(
"tool",
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());