summaryrefslogtreecommitdiff
path: root/src/previewimage.cpp
diff options
context:
space:
mode:
authormatgic78 <matgic78@gmail.com>2009-10-22 18:05:39 +0200
committermatgic78 <matgic78@gmail.com>2009-10-22 18:05:39 +0200
commit08e717b376a138e6d0e12213598e95cbed96a78e (patch)
treeaeff467c97f268ed8bc055a8dc32b3bbd9c6599f /src/previewimage.cpp
parentrekonq 0.2.70 (diff)
downloadrekonq-08e717b376a138e6d0e12213598e95cbed96a78e.tar.xz
Fix "cursor: pointer" setting it in previewimage.cpp with QWidget property
BusyCursor shown when hovering a loading preview
Diffstat (limited to 'src/previewimage.cpp')
-rw-r--r--src/previewimage.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/previewimage.cpp b/src/previewimage.cpp
index e7f8aea5..f5421fe3 100644
--- a/src/previewimage.cpp
+++ b/src/previewimage.cpp
@@ -74,6 +74,8 @@ PreviewImage::PreviewImage(const QUrl &url, const QString &title, int index, boo
setLayout(mainLayout);
loadUrlPreview(url);
+
+ setCursor(Qt::PointingHandCursor);
}
@@ -119,6 +121,7 @@ void PreviewImage::loadUrlPreview(const QUrl& url)
m_imageLabel->setMovie(movie);
movie->start();
m_textLabel->setText( i18n("Loading preview...") );
+ setCursor(Qt::BusyCursor);
}
}
@@ -135,6 +138,8 @@ void PreviewImage::snapFinished()
checkTitle();
m_textLabel->setText(m_title);
+ setCursor(Qt::PointingHandCursor);
+
// kDebug() << "m_pixmap: " << m_pixmap.size();
// kDebug() << "text label: " << m_textLabel->size();
// kDebug() << "image label: " << m_imageLabel->size();