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:
parent
cf7a576f67
commit
d113aa91ca
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ typedef QValueList<WpaMsg> WpaMsgList;
|
||||||
|
|
||||||
class WpaMsg {
|
class WpaMsg {
|
||||||
public:
|
public:
|
||||||
|
WpaMsg() {}
|
||||||
WpaMsg(const QString &_msg, int _priority = 2)
|
WpaMsg(const QString &_msg, int _priority = 2)
|
||||||
: msg(_msg), priority(_priority)
|
: msg(_msg), priority(_priority)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue