Make the toolbar code less noisy when the session file is not found

Conflicts:

	src/frontends/qt4/GuiToolbar.cpp
This commit is contained in:
Jean-Marc Lasgouttes 2012-07-16 23:11:26 +02:00
parent 3967b7b0db
commit b674c190e7
2 changed files with 2 additions and 1 deletions

View File

@ -358,7 +358,7 @@ void GuiToolbar::restoreSession()
settings.value(sessionKey() + "/visibility", error_val).toInt();
if (visibility == error_val || visibility == 0) {
// This should not happen, but in case we use the defaults
LYXERR0("Session settings could not be found!. "
LYXERR(Debug::GUI, "Session settings could not be found!. "
"Defaults are used instead");
visibility =
guiApp->toolbars().defaultVisibility(fromqstr(objectName()));

View File

@ -108,6 +108,7 @@ What's new
- Fix problem with configure.py when the user profile path on Windows
contains non-ascii characters (bug 8254).
- remove annoying startup debug message.
* DOCUMENTATION AND LOCALIZATION