summaryrefslogtreecommitdiff
path: root/src/previewimage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-02 15:22:00 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-02 15:22:00 +0200
commit1dfe3d1058f8fe9a4201eff27ceb79002654e6c6 (patch)
tree0cbef44fbd8b06bc49ea1bfac09dd37e6596d290 /src/previewimage.cpp
parentno more strange windows opened while loading previews :) (diff)
parentFixing Application::homePage behaviour (diff)
downloadrekonq-1dfe3d1058f8fe9a4201eff27ceb79002654e6c6.tar.xz
Merge branch 'DEVS'
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('.');