From 6c97f7d9eef744ce1da03f4d203af2307b08f6eb Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 18 Mar 2012 03:13:06 +0100 Subject: Fix FrameCache and HoverWindow Another commit that should be two. While fixing FrameCache to delete invalid Pixmaps, I ventured into the depths of HoverWindow. Now it hides when focus leaves the widget we're hovering over. --- fileview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fileview.cpp') diff --git a/fileview.cpp b/fileview.cpp index bd0492f..bedd6ef 100644 --- a/fileview.cpp +++ b/fileview.cpp @@ -33,7 +33,7 @@ FileView::FileView(QWidget *parent) : QTreeView(parent), mDeleteA(0) { setAttribute(Qt::WA_Hover); setRootIsDecorated(false); - mHoverWin = new HoverWindow; + mHoverWin = new HoverWindow(this); QSize curSize = SmGlobals::instance()->cursorSize(); mHoverWin->setHoverOffset(QPoint(curSize.width() + 30, 0)); readConfig(); -- cgit v1.2.3-70-g09d2