]> git.lyx.org Git - lyx.git/blobdiff - src/LColor.C
add GuiView parent to QToc for proper memory management.
[lyx.git] / src / LColor.C
index 93f57ba225b316b5ce8bdb278d7a800798025c08..f99c3e06c59711e73e8312806ecb60f93e8e2ae9 100644 (file)
@@ -107,7 +107,7 @@ LColor::LColor()
        { selection, N_("selection"), "selection", "LightBlue", "selection" },
        { latex, N_("LaTeX text"), "latex", "DarkRed", "latex" },
        { preview, N_("previewed snippet"), "preview", "black", "preview" },
-       { note, N_("note"), "note", "DarkGoldenrod", "note" },
+       { note, N_("note"), "note", "blue", "note" },
        { notebg, N_("note background"), "notebg", "yellow", "notebg" },
        { comment, N_("comment"), "comment", "magenta", "comment" },
        { commentbg, N_("comment background"), "commentbg", "linen", "commentbg" },
@@ -240,7 +240,7 @@ bool LColor::setColor(string const & lyxname, string const &x11name)
 {
        string const lcname = ascii_lowercase(lyxname);
        if (pimpl_->lyxcolors.find(lcname) == pimpl_->lyxcolors.end()) {
-               lyxerr[Debug::GUI]
+               LYXERR(Debug::GUI)
                        << "LColor::setColor: Unknown color \""
                       << lyxname << '"' << endl;
                addColor(static_cast<color>(pimpl_->infotab.size()), lcname);