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:
Georg Baum 2006-12-16 10:40:43 +00:00
parent bdbedecab3
commit cd5c02c925

View File

@ -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);