Le 16/07/12 23:12, Jean-Marc Lasgouttes a écrit :
The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit 02ce050fb825e7707c050f04d5e69f7d1a2a5c8a
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Mon Jul 16 23:11:26 2012 +0200

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

To branch? These message sare annoying when developing.

JMarc

diff --git a/src/frontends/qt4/GuiToolbar.cpp b/src/frontends/qt4/GuiToolbar.cpp
index b055bea..b055a9c 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()));
        }

-----------------------------------------------------------------------

Summary of changes:
  src/frontends/qt4/GuiToolbar.cpp |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive


Reply via email to