Abdel wrote
> Pavel Sanda wrote:
>> 5. painting problems of outliner when smaller window is set. see attached.
>
> Confirmed. Edwin, could you help here please?

the attached gets rid of the floating buttons, but somehow the minimum sizehint 
of the dockwidget seems to get lost. 

i don't have time to dig into this more unfortunately...


Index: src/frontends/qt4/GuiToc.cpp
===================================================================
--- src/frontends/qt4/GuiToc.cpp	(revision 23310)
+++ src/frontends/qt4/GuiToc.cpp	(working copy)
@@ -43,7 +43,7 @@
 GuiToc::GuiToc(GuiView & parent, Qt::DockWidgetArea area, Qt::WindowFlags flags)
 	: DockView(parent, "toc", qt_("Outline"), area, flags)
 {
-	widget_ = new TocWidget(*this);
+	widget_ = new TocWidget(*this, &parent);
 	setWidget(widget_);
 }
 

Reply via email to