mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Move tmpdir error message to stderr
http://thread.gmane.org/gmane.editors.lyx.general/85638/focus=157802
This commit is contained in:
parent
7a507c3745
commit
a8c1161d7b
@ -526,8 +526,7 @@ Buffer::~Buffer()
|
||||
d->position_to_children.clear();
|
||||
|
||||
if (!d->temppath.destroyDirectory()) {
|
||||
Alert::warning(_("Could not remove temporary directory"),
|
||||
bformat(_("Could not remove the temporary directory %1$s"),
|
||||
LYXERR0(bformat(_("Could not remove the temporary directory %1$s"),
|
||||
from_utf8(d->temppath.absFileName())));
|
||||
}
|
||||
removePreviews();
|
||||
|
@ -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())));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user