* src/frontends/qt4/QCharacter.C:

* src/frontends/qt4/QDocumentDialog.C:
* src/frontends/qt4/QPrefsDialog.C:
	- document persistence of Qt4 resizing bug.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17571 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-03-26 14:06:20 +00:00
parent dc4e5c228f
commit 2cbb8c77ec
3 changed files with 4 additions and 4 deletions

View File

@ -92,8 +92,8 @@ void QCharacter::build_dialog()
bcview().addReadOnly(dialog_->autoapplyCB);
// FIXME: hack to work around resizing bug in Qt >= 4.2
// bug verified with Qt 4.2.{0-2} (JSpitzm)
#if (QT_VERSION >= 0x040200)
// bug verified with Qt 4.2.{0-3} (JSpitzm)
#if QT_VERSION >= 0x040200
// qt resizes the comboboxes only after show(), so ...
dialog_->show();
#endif

View File

@ -404,7 +404,7 @@ QDocumentDialog::QDocumentDialog(QDocument * form)
docPS->addPanel(preambleModule, _("LaTeX Preamble"));
docPS->setCurrentPanel(_("Document Class"));
// FIXME: hack to work around resizing bug in Qt >= 4.2
// bug verified with Qt 4.2.{0-2} (JSpitzm)
// bug verified with Qt 4.2.{0-3} (JSpitzm)
#if QT_VERSION >= 0x040200
docPS->updateGeometry();
#endif

View File

@ -1805,7 +1805,7 @@ QPrefsDialog::QPrefsDialog(QPrefs * form)
prefsPS->setCurrentPanel(_("User interface"));
// FIXME: hack to work around resizing bug in Qt >= 4.2
// bug verified with Qt 4.2.{0-2} (JSpitzm)
// bug verified with Qt 4.2.{0-3} (JSpitzm)
#if QT_VERSION >= 0x040200
prefsPS->updateGeometry();
#endif