mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +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)
|
LyXView::LyXView(int id)
|
||||||
: id_(id), work_area_(0),
|
: work_area_(0),
|
||||||
toolbars_(new Toolbars(*this)),
|
toolbars_(new Toolbars(*this)),
|
||||||
autosave_timeout_(new Timeout(5000)),
|
autosave_timeout_(new Timeout(5000)),
|
||||||
dialogs_(new Dialogs(*this)),
|
dialogs_(new Dialogs(*this)),
|
||||||
controlcommand_(new ControlCommandBuffer(*this))
|
controlcommand_(new ControlCommandBuffer(*this)), id_(id)
|
||||||
{
|
{
|
||||||
// Start autosave timer
|
// Start autosave timer
|
||||||
if (lyxrc.autosave) {
|
if (lyxrc.autosave) {
|
||||||
|
@ -71,8 +71,8 @@ namespace lyx {
|
|||||||
namespace frontend {
|
namespace frontend {
|
||||||
|
|
||||||
WorkArea::WorkArea(int id, LyXView & lyx_view)
|
WorkArea::WorkArea(int id, LyXView & lyx_view)
|
||||||
: id_(id), buffer_view_(0), lyx_view_(lyx_view), greyed_out_(true),
|
: buffer_view_(0), lyx_view_(lyx_view), greyed_out_(true),
|
||||||
cursor_visible_(false), cursor_timeout_(400)
|
cursor_visible_(false), cursor_timeout_(400), id_(id)
|
||||||
{
|
{
|
||||||
// Start loading the pixmap as soon as possible
|
// Start loading the pixmap as soon as possible
|
||||||
//if (lyxrc.show_banner) {
|
//if (lyxrc.show_banner) {
|
||||||
|
Loading…
Reference in New Issue
Block a user