Peter Kümmel wrote:

> Georg Baum wrote:
>> Does it work if you always use exit instead of lyx_gui::exit in lyx_exit
>> (lyx_main.C)?
> 
> No, still the same.

Then I guess that we have another desctrion order problem.

> Index: frontends/qt4/lyx_gui.C
> ===================================================================
> --- frontends/qt4/lyx_gui.C     (revision 14038)
> +++ frontends/qt4/lyx_gui.C     (working copy)
> @@ -55,6 +55,8 @@
>  #include <QEventLoop>
>  #include <QTranslator>
>  #include <QTextCodec>
> +#include <QLocale>
> +#include <QLibraryInfo>
> 
>  using lyx::support::ltrim;
>  using lyx::support::package;
> @@ -167,19 +169,23 @@
> 
>         // install translation file for Qt built-in dialogs
>         // These are only installed since Qt 3.2.x
> -       QTranslator qt_trans(0);
> -       if (qt_trans.load(QString("qt_") + QTextCodec::locale(),
> -                         qInstallPathTranslations())) {
> +       static QTranslator qt_trans;

Why do you make this static? Does it work if you remove the static
qualifier?


Georg

Reply via email to