Fix qt3 wpa_gui build
authorDan Williams <dcbw@redhat.com>
Wed, 5 Mar 2008 16:30:01 +0000 (18:30 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 5 Mar 2008 16:30:01 +0000 (18:30 +0200)
When a WpaMsg item to the QValueList WpaMsgList, there's no constructor
that the QValueList can call.  This is a port of the fix from the stable
branch where it builds fine.

wpa_supplicant/wpa_gui/wpamsg.h

index 4754462..f3fce06 100644 (file)
@@ -14,6 +14,7 @@ typedef QValueList<WpaMsg> WpaMsgList;
 
 class WpaMsg {
 public:
+    WpaMsg() {}
     WpaMsg(const QString &_msg, int _priority = 2)
        : msg(_msg), priority(_priority)
     {