Fix for changed Qt behaviour

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7282 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-07-15 15:24:33 +00:00
parent 62c09c9630
commit b3ed50a4d3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-07-15 John Levon <levon@movementarian.org>
* QMathDialog.C: use widget(i) not visibleWidget() due to
issue N26610 in Qt 3.2.0beta2
2003-07-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org> 2003-07-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* Menubar_pimpl.C (Pimpl): when creating a top-level menu, make * Menubar_pimpl.C (Pimpl): when creating a top-level menu, make

View File

@ -186,7 +186,7 @@ IconPalette * QMathDialog::makePanel(QWidget * parent, char const ** entries)
void QMathDialog::addPanel(int num) void QMathDialog::addPanel(int num)
{ {
QScrollViewSingle * view = static_cast<QScrollViewSingle*>(symbolsWS->visibleWidget()); QScrollViewSingle * view = static_cast<QScrollViewSingle*>(symbolsWS->widget(num));
IconPalette * p = makePanel(view->viewport(), panels[num]); IconPalette * p = makePanel(view->viewport(), panels[num]);
view->setChild(p); view->setChild(p);
} }