From 02ce050fb825e7707c050f04d5e69f7d1a2a5c8a Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 16 Jul 2012 23:11:26 +0200 Subject: [PATCH] Make the toolbar code less noisy when the session file is not found --- src/frontends/qt4/GuiToolbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiToolbar.cpp b/src/frontends/qt4/GuiToolbar.cpp index b055bea389..b055a9c3f1 100644 --- a/src/frontends/qt4/GuiToolbar.cpp +++ b/src/frontends/qt4/GuiToolbar.cpp @@ -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! Defaults are used instead."); + LYXERR(Debug::GUI, "Session settings could not be found! Defaults are used instead."); visibility = guiApp->toolbars().defaultVisibility(fromqstr(objectName())); }