]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.cpp
Use QProxyStyle instead of QMacStyle. QMacStyle is not available anymore with At5...
[lyx.git] / src / LyX.cpp
index 41c69f7dae4d77f031290dfed4b0dede36b8de3d..98c57059176896c81a9d0d30e55b9d8f07d585e2 100644 (file)
@@ -33,6 +33,7 @@
 #include "FuncStatus.h"
 #include "HunspellChecker.h"
 #include "KeyMap.h"
+#include "Language.h"
 #include "LaTeXFonts.h"
 #include "LayoutFile.h"
 #include "Lexer.h"
@@ -666,7 +667,7 @@ static void error_handler(int err_sig)
        if (!msg.empty()) {
                lyxerr << "\nlyx: " << msg << endl;
                // try to make a GUI message
-               Alert::error(_("LyX crashed!"), msg);
+               Alert::error(_("LyX crashed!"), msg, true);
        }
 
        // Deinstall the signal handlers