summaryrefslogtreecommitdiffstats
path: root/ksim/monitors/snmp/monitorconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksim/monitors/snmp/monitorconfig.cpp')
-rw-r--r--ksim/monitors/snmp/monitorconfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksim/monitors/snmp/monitorconfig.cpp b/ksim/monitors/snmp/monitorconfig.cpp
index 6f6575d..5242ee0 100644
--- a/ksim/monitors/snmp/monitorconfig.cpp
+++ b/ksim/monitors/snmp/monitorconfig.cpp
@@ -107,7 +107,7 @@ TQWidget *MonitorConfig::createMonitorWidget( TQWidget *parent, const char *name
else
w = new ChartMonitor( *this, parent, name );
- Monitor *monitor = new Monitor( host, id, refresh, TQT_TQOBJECT(w) );
+ Monitor *monitor = new Monitor( host, id, refresh, w );
TQObject::connect( monitor, TQT_SIGNAL( newData( const Value & ) ),
w, TQT_SLOT( setData( const Value & ) ) );
return w;