Remove old workaround that was needed for Qt 4.2

Jürgen believes that this is not needed anymore.
This commit is contained in:
Jean-Marc Lasgouttes 2022-11-19 14:55:33 +01:00
parent ac248e392d
commit 0f8b4e36d8
2 changed files with 0 additions and 8 deletions

View File

@ -1783,10 +1783,6 @@ GuiDocument::GuiDocument(GuiView & lv)
docPS->addPanel(outputModule, N_("Formats[[output]]"));
docPS->addPanel(preambleModule, N_("LaTeX Preamble"));
docPS->setCurrentPanel("Document Class");
// FIXME KILLQT4: check that this is still needed (is this workaround still needed?)
// FIXME: hack to work around resizing bug in Qt >= 4.2
// bug verified with Qt 4.2.{0-3} (JSpitzm)
docPS->updateGeometry();
}

View File

@ -3568,10 +3568,6 @@ GuiPreferences::GuiPreferences(GuiView & lv)
addModule(formats);
prefsPS->setCurrentPanel("User Interface");
// FIXME KILLQT4: check that this is still needed (what bug is it?)
// FIXME: hack to work around resizing bug in Qt >= 4.2
// bug verified with Qt 4.2.{0-3} (JSpitzm)
prefsPS->updateGeometry();
bc().setPolicy(ButtonPolicy::PreferencesPolicy);
bc().setOK(buttonBox->button(QDialogButtonBox::Ok));