From 29ed6115bd14aa95d29cf922fd179a6e470b5d53 Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 10 Sep 2004 11:02:02 +0000 Subject: Make it compile without warning about unused parameters --- (limited to 'examples') diff --git a/examples/networksettings/examplemodule.h b/examples/networksettings/examplemodule.h index f14a653..211714b 100644 --- a/examples/networksettings/examplemodule.h +++ b/examples/networksettings/examplemodule.h @@ -22,7 +22,7 @@ public: Interface *addNewInterface( const QString& ); bool remove( Interface* iface ); QString getPixmapName( Interface* ) {return QString::fromLatin1("Tux"); } - void receive( const QCString&, const QByteArray& ar ) {} // don't listen + void receive( const QCString& msg, const QByteArray& ar ) { Q_CONST_UNUSED(msg) Q_CONST_UNUSED(ar) } // don't listen private: QList m_interfaces; }; -- cgit v0.9.0.2