[LyX/master] Remove old workaround that was needed for Qt 4.2
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Mon Nov 28 13:31:03 UTC 2022
commit 0f8b4e36d80d4513d796aa80a112dee06ea4ae91
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date: Sat Nov 19 14:55:33 2022 +0100
Remove old workaround that was needed for Qt 4.2
Jürgen believes that this is not needed anymore.
---
src/frontends/qt/GuiDocument.cpp | 4 ----
src/frontends/qt/GuiPrefs.cpp | 4 ----
2 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp
index ff6c2df..8dff8b5 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 9697902..c72baee 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));
More information about the lyx-cvs
mailing list