diff options
author | Arno <am@disconnect.de> | 2012-03-18 03:13:06 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2012-03-18 03:13:06 +0100 |
commit | 6c97f7d9eef744ce1da03f4d203af2307b08f6eb (patch) | |
tree | 8079a158f6a12acaa4aef4588a93b513aaa49121 /fileview.cpp | |
parent | 3e784fed0148c4ec24aa8b2b8ca53f2d9d9bc543 (diff) | |
download | SheMov-6c97f7d9eef744ce1da03f4d203af2307b08f6eb.tar.gz SheMov-6c97f7d9eef744ce1da03f4d203af2307b08f6eb.tar.bz2 SheMov-6c97f7d9eef744ce1da03f4d203af2307b08f6eb.zip |
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.
Diffstat (limited to 'fileview.cpp')
-rw-r--r-- | fileview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |