]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.cpp
Correct tex2lyx/roundtrip/test-structure.tex test.
[lyx.git] / src / LyX.cpp
index a1fdac914007501829a8820767cf3bc781c59d30..d81c90f6ff95c8061a785162e9b8ec79f44d6c2f 100644 (file)
@@ -404,10 +404,8 @@ void LyX::prepareExit()
                        LYXERR(Debug::INFO, "Deleting tmp dir "
                                << package().temp_dir().absFileName());
                        if (!package().temp_dir().destroyDirectory()) {
-                               docstring const msg =
-                                       bformat(_("Unable to remove the temporary directory %1$s"),
-                                       from_utf8(package().temp_dir().absFileName()));
-                               Alert::warning(_("Unable to remove temporary directory"), msg);
+                               LYXERR0(bformat(_("Unable to remove the temporary directory %1$s"),
+                                       from_utf8(package().temp_dir().absFileName())));
                        }
                }
        }