Browse Source

Fix qt3 wpa_gui build

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.
Dan Williams 17 years ago
parent
commit
d113aa91ca
1 changed files with 1 additions and 0 deletions
  1. 1 0
      wpa_supplicant/wpa_gui/wpamsg.h

+ 1 - 0
wpa_supplicant/wpa_gui/wpamsg.h

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