mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
fix variable initialization order (shuts up a gcc warning)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16298 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
bdbedecab3
commit
cd5c02c925
@ -156,8 +156,8 @@ unsigned int GuiView::GuiViewPrivate::lastIconSize = 0;
|
||||
|
||||
|
||||
GuiView::GuiView(int id)
|
||||
: QMainWindow(), LyXView(id), commandbuffer_(0), d(*new GuiViewPrivate),
|
||||
quitting_by_menu_(false)
|
||||
: QMainWindow(), LyXView(id), commandbuffer_(0), quitting_by_menu_(false),
|
||||
d(*new GuiViewPrivate)
|
||||
{
|
||||
// Qt bug? signal lastWindowClosed does not work
|
||||
setAttribute(Qt::WA_QuitOnClose, false);
|
||||
|
Loading…
Reference in New Issue
Block a user