diff options
| author | matgic78 <matgic78@gmail.com> | 2009-10-22 18:05:39 +0200 | 
|---|---|---|
| committer | matgic78 <matgic78@gmail.com> | 2009-10-22 18:05:39 +0200 | 
| commit | 08e717b376a138e6d0e12213598e95cbed96a78e (patch) | |
| tree | aeff467c97f268ed8bc055a8dc32b3bbd9c6599f /src | |
| parent | rekonq 0.2.70 (diff) | |
| download | rekonq-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')
| -rw-r--r-- | src/previewimage.cpp | 5 | 
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(); | 
