Squash warning about variables being initialized in the wrong order.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8163 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-11-30 18:26:41 +00:00
parent 835002e272
commit 0ad320dce9
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-11-30 Angus Leeming <leeming@lyx.org>
* QContentPane.C (QContentPane): squash warning about variables
being initialized in the wrong order.
2003-11-29 Juergen Spitzmueller <j.spitzmueller@gmx.de>
* qt_helpers.C (widgetsToLength): handle glue lengths

View File

@ -76,7 +76,7 @@ mouse_button::state q_motion_state(Qt::ButtonState state)
QContentPane::QContentPane(QWorkArea * parent)
: QWidget(parent, "content_pane", WRepaintNoErase),
wa_(parent), track_scrollbar_(true)
track_scrollbar_(true), wa_(parent)
{
setFocusPolicy(QWidget::WheelFocus);
setFocus();

View File

@ -52,7 +52,7 @@ public:
QPixmap * pixmap() const { return pixmap_.get(); }
/// track scrollbar signals?
void trackScrollbar(bool track_on);
protected:
/// repaint part of the widget
void paintEvent(QPaintEvent * e);