]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiToc.cpp
fix completion painting for RTL (inline completion and completion list)
[lyx.git] / src / frontends / qt4 / GuiToc.cpp
index 67f1cce5667a48ba122a980950cc8f1433a53451..7443e17c33ee17055b6ebec13cd41c04387410dd 100644 (file)
@@ -35,7 +35,7 @@ namespace frontend {
 GuiToc::GuiToc(GuiView & parent, Qt::DockWidgetArea area, Qt::WindowFlags flags)
        : DockView(parent, "toc", qt_("Outline"), area, flags)
 {
-       widget_ = new TocWidget(parent.tocModels(), &parent);
+       widget_ = new TocWidget(parent, this);
        setWidget(widget_);
 }