Comments from Andre'.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23463 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-03-04 21:45:54 +00:00
parent bdd453e4b9
commit bddf480792
2 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ void TocWidget::updateGui(int selected_type)
// setTocModel produce QTreeView reset and setting depth again // setTocModel produce QTreeView reset and setting depth again
// is needed. That must be done after all Qt updates are processed. // is needed. That must be done after all Qt updates are processed.
QTimer::singleShot(1, this, SLOT(setTreeDepth())); QTimer::singleShot(0, this, SLOT(setTreeDepth()));
} }

View File

@ -51,7 +51,7 @@ protected Q_SLOTS:
void on_moveDownTB_clicked(); void on_moveDownTB_clicked();
void on_moveInTB_clicked(); void on_moveInTB_clicked();
void on_moveOutTB_clicked(); void on_moveOutTB_clicked();
void setTreeDepth() { setTreeDepth(depth_); }; void setTreeDepth() { setTreeDepth(depth_); }
protected: protected:
/// ///