diff --git a/src/frontends/qt4/ui/PrefLatexUi.ui b/src/frontends/qt4/ui/PrefLatexUi.ui
index 9fe8c11515..e045860abe 100644
--- a/src/frontends/qt4/ui/PrefLatexUi.ui
+++ b/src/frontends/qt4/ui/PrefLatexUi.ui
@@ -351,16 +351,6 @@
-
- latexEncodingED
- latexPaperSizeCO
- latexChecktexED
- latexBibtexED
- latexIndexED
- latexDviPaperED
- pathCB
- latexAutoresetCB
-
qt_i18n.h
diff --git a/src/frontends/qt4/ui/PrefPrinterUi.ui b/src/frontends/qt4/ui/PrefPrinterUi.ui
index 25b51dbd8e..360204b73f 100644
--- a/src/frontends/qt4/ui/PrefPrinterUi.ui
+++ b/src/frontends/qt4/ui/PrefPrinterUi.ui
@@ -339,7 +339,6 @@
printerNameED
- printerAdaptCB
printerCommandED
printerEvenED
printerOddED
@@ -356,6 +355,7 @@
printerExtraED
printerSpoolCommandED
printerSpoolPrefixED
+ printerAdaptCB
qt_i18n.h