]> git.lyx.org Git - features.git/commitdiff
Make the toolbar code less noisy when the session file is not found
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 16 Jul 2012 21:11:26 +0000 (23:11 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 19 Jul 2012 21:44:43 +0000 (23:44 +0200)
Conflicts:

src/frontends/qt4/GuiToolbar.cpp

src/frontends/qt4/GuiToolbar.cpp
status.20x

index 79e669fa4a9cfd470764e63d9f5f17c74b261cb7..73ff2a16c3375f0bb9ed4ecafa98dbea06b680e0 100644 (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()));
index 0b0878db3c7de1293f2b5a8477570650503855e0..d4414dcd021d2a3d93d3c469c3cc5378dd5c3334 100644 (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