]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QToc.C
better selection and scrolling behaviour
[lyx.git] / src / frontends / qt2 / QToc.C
index 174db3adf87c9d8340ab3acdb9a1905da5defdc9..c25e578af679da8e47040f338148c436d81f0de7 100644 (file)
@@ -149,7 +149,7 @@ void QToc::updateToc(int newdepth)
                        << ", previous sibling \""
                        << (last ? last->text(0).latin1() : "0")
                        << "\", parent \""
-                       << (parent ? parent->text(0).latin1() : "0") << "\""
+                       << (parent ? parent->text(0).latin1() : "0") << '"'
                        << endl;
                item->setText(0,iter->str.c_str());
                item->setOpen(iter->depth < depth_);