]> 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>
Mon, 16 Jul 2012 21:11:26 +0000 (23:11 +0200)
src/frontends/qt4/GuiToolbar.cpp

index b055bea389c2880b1d6bcac2b5268ec899d48d5a..b055a9c3f1df1b47bd68732f496255310bd281d7 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! Defaults are used instead.");
+               LYXERR(Debug::GUI, "Session settings could not be found! Defaults are used instead.");
                visibility = 
                        guiApp->toolbars().defaultVisibility(fromqstr(objectName()));
        }