author | benmeyer <benmeyer> | 2002-11-15 22:04:26 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-11-15 22:04:26 (UTC) |
commit | d3e670971b2b721eb2b484801cf1c6ecbf52d436 (patch) (side-by-side diff) | |
tree | bc8e979cdddeac688a6e3b9be2843a9e97b94a3e /noncore/settings | |
parent | a1306f7603ab9a05f7d0059fad60b68f01a0ae71 (diff) | |
download | opie-d3e670971b2b721eb2b484801cf1c6ecbf52d436.zip opie-d3e670971b2b721eb2b484801cf1c6ecbf52d436.tar.gz opie-d3e670971b2b721eb2b484801cf1c6ecbf52d436.tar.bz2 |
updates
-rw-r--r-- | noncore/settings/networksettings/interfaces/interfaceinformationimp.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/noncore/settings/networksettings/interfaces/interfaceinformationimp.cpp b/noncore/settings/networksettings/interfaces/interfaceinformationimp.cpp index 39575c4..cf3dba1 100644 --- a/noncore/settings/networksettings/interfaces/interfaceinformationimp.cpp +++ b/noncore/settings/networksettings/interfaces/interfaceinformationimp.cpp @@ -3,22 +3,17 @@ #include <qpushbutton.h> #include <qlabel.h> #include <qgroupbox.h> #include <qmessagebox.h> -#include <assert.h> - /** * Constructor for the InterfaceInformationImp class. This class pretty much * just display's information about the interface that is passed to it. */ -InterfaceInformationImp::InterfaceInformationImp(QWidget *parent, const char *name, Interface *i, WFlags f):InterfaceInformation(parent, name, f){ - assert(i); - - interface = i; +InterfaceInformationImp::InterfaceInformationImp(QWidget *parent, const char *name, Interface *i, WFlags f):InterfaceInformation(parent, name, f), interface(i){ connect(i, SIGNAL(updateInterface(Interface *)), this, SLOT(updateInterface(Interface *))); connect(i, SIGNAL(updateMessage(const QString &)), this, SLOT(showMessage(const QString &))); updateInterface(interface); connect(startButton, SIGNAL(clicked()), interface, SLOT(start())); connect(stopButton, SIGNAL(clicked()), interface, SLOT(stop())); connect(restartButton, SIGNAL(clicked()), interface, SLOT(restart())); |