summaryrefslogtreecommitdiffstats
path: root/hoverwindow.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-12-12 11:36:42 +0100
committerArno <am@disconnect.de>2010-12-12 11:36:42 +0100
commitce8ea0df0dd34e516bfad507c4dfb3735ecdf82b (patch)
tree83491df938f694d394890077b8cea1dc2b748837 /hoverwindow.h
parentf2a3027188423719fcde96dd5975646b7122e268 (diff)
downloadSheMov-ce8ea0df0dd34e516bfad507c4dfb3735ecdf82b.tar.gz
SheMov-ce8ea0df0dd34e516bfad507c4dfb3735ecdf82b.tar.bz2
SheMov-ce8ea0df0dd34e516bfad507c4dfb3735ecdf82b.zip
Hover fix
When hovering over movies in local mode both the ToolTip and the hover image was shown. Fixed by only showing the ToolTip when the movie is not available, eg. archive mode. In any other case incorporate the ToolTip info into the hover image.
Diffstat (limited to 'hoverwindow.h')
-rw-r--r--hoverwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hoverwindow.h b/hoverwindow.h
index ee061dd..af2f084 100644
--- a/hoverwindow.h
+++ b/hoverwindow.h
@@ -21,7 +21,7 @@ class HoverWindow : public QWidget {
public:
explicit HoverWindow(QWidget *parent = 0, Qt::WindowFlags f = Qt::Tool | Qt::FramelessWindowHint);
void setContent(const QString &parent, const QStringList &children);
- void setPixmap(const QPixmap &pm);
+ void setPixmap(const QPixmap &pm, bool scale = true);
void setData(const QList<QVariant> &data);
int pixmapHeight() const;
void setPos();