Fix an uninitialised variable error with gcc 4.6.0. Fixes issue 1659
This commit is contained in:
parent
9c2f0e7d8f
commit
c6bd3cbb30
@ -45,7 +45,7 @@ private slots:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
struct Location {
|
struct Location {
|
||||||
Location() {}
|
Location() : menu_(NULL), before_(NULL) {}
|
||||||
Location(QMenu* menu, QAction* before) : menu_(menu), before_(before) {}
|
Location(QMenu* menu, QAction* before) : menu_(menu), before_(before) {}
|
||||||
|
|
||||||
QMenu* menu_;
|
QMenu* menu_;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user