From 0f8b4e36d80d4513d796aa80a112dee06ea4ae91 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Sat, 19 Nov 2022 14:55:33 +0100 Subject: [PATCH] Remove old workaround that was needed for Qt 4.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Jürgen believes that this is not needed anymore. --- src/frontends/qt/GuiDocument.cpp | 4 ---- src/frontends/qt/GuiPrefs.cpp | 4 ---- 2 files changed, 8 deletions(-) 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)); -- 2.39.5