]> git.lyx.org Git - features.git/commitdiff
Remove old workaround that was needed for Qt 4.2
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 19 Nov 2022 13:55:33 +0000 (14:55 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 19 Nov 2022 13:55:33 +0000 (14:55 +0100)
Jürgen believes that this is not needed anymore.

src/frontends/qt/GuiDocument.cpp
src/frontends/qt/GuiPrefs.cpp

index ff6c2dffa8bed218c549125e81651231adcb23d0..8dff8b53a9b8e5d72117fba4a7b104f404657044 100644 (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();
 }
 
 
index 9697902b802596cdf5e41cd7675beaa3221f04eb..c72baee3379aade691e3d2f6179391bc92c89cf6 100644 (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));