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 /hoverwindow.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 'hoverwindow.cpp')
-rw-r--r-- | hoverwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hoverwindow.cpp b/hoverwindow.cpp index b478879..4bfdae4 100644 --- a/hoverwindow.cpp +++ b/hoverwindow.cpp @@ -61,6 +61,7 @@ void HoverWindow::setContent(const QString &parent, const QStringList &children) mLabel->setText(curText); setMinimumSize(doc.size().width() + 10, doc.size().height() + 10); setMaximumSize(doc.size().width() + 10, doc.size().height() + 10); + raise(); } void HoverWindow::setPixmap(const QPixmap &pm, bool scale){ @@ -77,6 +78,7 @@ void HoverWindow::setPixmap(const QPixmap &pm, bool scale){ mLabel->setPixmap(curPm); setMaximumSize(curPm.width() + 10, curPm.height() + 10); setMinimumSize(curPm.width() + 10, curPm.height() + 10); + raise(); } void HoverWindow::setData(const QList<QVariant> &data){ |