From: Jürgen Spitzmüller Date: Sun, 7 Jan 2007 10:24:25 +0000 (+0000) Subject: * src/frontends/qt4/QCharacter.C: X-Git-Tag: 1.6.10~11296 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=fee8801a6d6e2dd620ac49e46428e3d1cc842ca6;p=lyx.git * src/frontends/qt4/QCharacter.C: * src/frontends/qt4/QDocumentDialog.C: * src/frontends/qt4/QPrefsDialog.C: - include some information on the resizing bug, git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16565 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/QCharacter.C b/src/frontends/qt4/QCharacter.C index f96e4a10ea..81e3d6e891 100644 --- a/src/frontends/qt4/QCharacter.C +++ b/src/frontends/qt4/QCharacter.C @@ -92,7 +92,8 @@ void QCharacter::build_dialog() bcview().addReadOnly(dialog_->autoapplyCB); // FIXME: hack to work around resizing bug in Qt >= 4.2 -#if QT_VERSION >= 0x040200 +// bug verified with Qt 4.2.{0-2} (JSpitzm) +#if (QT_VERSION >= 0x040200) // qt resizes the comboboxes only after show(), so ... dialog_->show(); #endif diff --git a/src/frontends/qt4/QDocumentDialog.C b/src/frontends/qt4/QDocumentDialog.C index 5c7b913b39..dcd66369e5 100644 --- a/src/frontends/qt4/QDocumentDialog.C +++ b/src/frontends/qt4/QDocumentDialog.C @@ -397,6 +397,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) #if QT_VERSION >= 0x040200 docPS->updateGeometry(); #endif diff --git a/src/frontends/qt4/QPrefsDialog.C b/src/frontends/qt4/QPrefsDialog.C index fe00adca40..7b64aee28b 100644 --- a/src/frontends/qt4/QPrefsDialog.C +++ b/src/frontends/qt4/QPrefsDialog.C @@ -1819,6 +1819,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) #if QT_VERSION >= 0x040200 prefsPS->updateGeometry(); #endif