From 31b5ba7e251b2b03d09631faa65d146192373958 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Wed, 3 Nov 2010 00:38:35 +0000 Subject: [PATCH] Be compatible with Qt 4.2 and 4.3 (Q_EMIT). Actually, it still fails to link with anything less than Qt 4.4.0 due to the xxxAndDestroy() business in GuiView.cpp ... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36009 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/InGuiThread.h | 4 ++ src/frontends/qt4/ui/PrefScreenFontsUi.ui | 58 +++++++++++++++++------ 2 files changed, 48 insertions(+), 14 deletions(-) diff --git a/src/frontends/qt4/InGuiThread.h b/src/frontends/qt4/InGuiThread.h index 4939c64726..ea5d64b0dd 100644 --- a/src/frontends/qt4/InGuiThread.h +++ b/src/frontends/qt4/InGuiThread.h @@ -19,6 +19,10 @@ #include "support/bind.h" #include "support/functional.h" +#if QT_VERSION < 0x040400 +#define Q_EMIT +#endif + namespace lyx { namespace frontend { diff --git a/src/frontends/qt4/ui/PrefScreenFontsUi.ui b/src/frontends/qt4/ui/PrefScreenFontsUi.ui index 2432cf0a3b..83705c2724 100644 --- a/src/frontends/qt4/ui/PrefScreenFontsUi.ui +++ b/src/frontends/qt4/ui/PrefScreenFontsUi.ui @@ -5,7 +5,7 @@ 0 0 - 359 + 470 454 @@ -13,10 +13,28 @@ + + 9 + + + 6 + + + 0 + + + 6 + + + 0 + + + 6 + @@ -30,7 +48,9 @@ - + + 3 + 5 0 0 @@ -56,7 +76,9 @@ - + + 3 + 5 0 0 @@ -102,7 +124,9 @@ - + + 3 + 5 0 0 @@ -125,8 +149,20 @@ + + 0 + + + 6 + + + 0 + + + 6 + @@ -170,17 +206,11 @@ Font Sizes - - 11 - - - 11 - - - 11 + + 9 - - 11 + + 6 -- 2.39.2