diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-01 12:02:30 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-01 12:02:30 +0200 |
commit | 01e5c03236fa589b719544f478ea036b8b1e2ee7 (patch) | |
tree | f13f954c326113b2aa92f172f97cfd4c05f7fac2 /src/previewimage.cpp | |
parent | Setting session and request metadata about ssl navigation (diff) | |
download | rekonq-01e5c03236fa589b719544f478ea036b8b1e2ee7.tar.xz |
Code fixes in the homepage
also changed history && bookmarks layout (we need just icons there)
Diffstat (limited to 'src/previewimage.cpp')
-rw-r--r-- | src/previewimage.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/previewimage.cpp b/src/previewimage.cpp index af6e4361..44c0850a 100644 --- a/src/previewimage.cpp +++ b/src/previewimage.cpp @@ -36,7 +36,7 @@ #include <KDebug> -PreviewImage::PreviewImage(const QString &url) +PreviewImage::PreviewImage(const QUrl &url) : QLabel() , ws(0) , m_url(url) @@ -88,9 +88,9 @@ void PreviewImage::mousePressEvent(QMouseEvent *event) } -QString PreviewImage::guessNameFromUrl(QString url) +QString PreviewImage::guessNameFromUrl(QUrl url) { - QString name = QUrl(url).toString( QUrl::RemoveScheme | QUrl::RemoveUserInfo | QUrl::StripTrailingSlash ); + QString name = url.toString( QUrl::RemoveScheme | QUrl::RemoveUserInfo | QUrl::StripTrailingSlash ); // TODO learn Regular Expressions :) name.remove('/'); |