summaryrefslogtreecommitdiff
path: root/src/previewimage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-02 12:01:58 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-02 12:01:58 +0200
commit03e600a1390d61a99ac2a393c9ab1500d8972e9e (patch)
tree8b1fb8988bcebf60fac693541c4aa152eef1adcc /src/previewimage.cpp
parentChangin (again) layout and fixing last Visited page counter.. :) (diff)
downloadrekonq-03e600a1390d61a99ac2a393c9ab1500d8972e9e.tar.xz
Fixing Application::homePage behaviour
Diffstat (limited to 'src/previewimage.cpp')
-rw-r--r--src/previewimage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/previewimage.cpp b/src/previewimage.cpp
index 44c0850a..60207fb3 100644
--- a/src/previewimage.cpp
+++ b/src/previewimage.cpp
@@ -93,6 +93,7 @@ QString PreviewImage::guessNameFromUrl(QUrl url)
QString name = url.toString( QUrl::RemoveScheme | QUrl::RemoveUserInfo | QUrl::StripTrailingSlash );
// TODO learn Regular Expressions :)
+ // and implement something better here..
name.remove('/');
name.remove('&');
name.remove('.');