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.
This commit is contained in:
Dan Williams 2008-03-05 18:30:01 +02:00 committed by Jouni Malinen
parent cf7a576f67
commit d113aa91ca

View file

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