From: Jean-Marc Lasgouttes Date: Sat, 19 Nov 2022 13:55:33 +0000 (+0100) Subject: Remove old workaround that was needed for Qt 4.2 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0f8b4e36d80d4513d796aa80a112dee06ea4ae91;p=features.git Remove old workaround that was needed for Qt 4.2 Jürgen believes that this is not needed anymore. --- diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp index ff6c2dffa8..8dff8b53a9 100644 --- a/src/frontends/qt/GuiDocument.cpp +++ b/src/frontends/qt/GuiDocument.cpp @@ -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(); } diff --git a/src/frontends/qt/GuiPrefs.cpp b/src/frontends/qt/GuiPrefs.cpp index 9697902b80..c72baee337 100644 --- a/src/frontends/qt/GuiPrefs.cpp +++ b/src/frontends/qt/GuiPrefs.cpp @@ -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));