mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Fix (hopefully) gcc warning about initialization order in constructor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15553 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
06139fb170
commit
1e3d50b669
@ -68,11 +68,11 @@ string current_layout;
|
||||
|
||||
|
||||
LyXView::LyXView(int id)
|
||||
: id_(id), work_area_(0),
|
||||
: work_area_(0),
|
||||
toolbars_(new Toolbars(*this)),
|
||||
autosave_timeout_(new Timeout(5000)),
|
||||
dialogs_(new Dialogs(*this)),
|
||||
controlcommand_(new ControlCommandBuffer(*this))
|
||||
controlcommand_(new ControlCommandBuffer(*this)), id_(id)
|
||||
{
|
||||
// Start autosave timer
|
||||
if (lyxrc.autosave) {
|
||||
|
@ -71,8 +71,8 @@ namespace lyx {
|
||||
namespace frontend {
|
||||
|
||||
WorkArea::WorkArea(int id, LyXView & lyx_view)
|
||||
: id_(id), buffer_view_(0), lyx_view_(lyx_view), greyed_out_(true),
|
||||
cursor_visible_(false), cursor_timeout_(400)
|
||||
: buffer_view_(0), lyx_view_(lyx_view), greyed_out_(true),
|
||||
cursor_visible_(false), cursor_timeout_(400), id_(id)
|
||||
{
|
||||
// Start loading the pixmap as soon as possible
|
||||
//if (lyxrc.show_banner) {
|
||||
|
Loading…
Reference in New Issue
Block a user