summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-23 00:10:06 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-23 00:10:06 +0200
commitf9fdb3d0b13e355ee8b4462599b6330725e2cda6 (patch)
tree6d142816153aa1d5bf3b8d9e842f8ec39f64ead9
parentRestored open action (in the tools menu). (diff)
parentFix "cursor: pointer" setting it in previewimage.cpp with QWidget property (diff)
downloadrekonq-f9fdb3d0b13e355ee8b4462599b6330725e2cda6.tar.xz
Merge commit 'refs/merge-requests/1884' of git://gitorious.org/rekonq/mainline into Fri2
-rw-r--r--data/home.html1
-rw-r--r--src/previewimage.cpp5
2 files changed, 5 insertions, 1 deletions
diff --git a/data/home.html b/data/home.html
index 1d2430a9..fd949660 100644
--- a/data/home.html
+++ b/data/home.html
@@ -115,7 +115,6 @@ margin-left: 4px;
text-align: center;
float:left;
margin-bottom: 7%;
-cursor: pointer;
}
/* -------------------------------------------------------- */
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();