summaryrefslogtreecommitdiffstats
path: root/konq-plugins/webarchiver/plugin_webarchiver.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-12-29 00:07:09 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-12-29 00:07:09 +0000
commita442d656b50c63beb1488c7d6c1dce57ff99d113 (patch)
tree153c7f61a07a1d62f8bb35ed6f9057c179ab7d19 /konq-plugins/webarchiver/plugin_webarchiver.cpp
parent84da08d7b7fcda12c85caeb5a10b4903770a6f69 (diff)
downloadtdeaddons-a442d656b50c63beb1488c7d6c1dce57ff99d113.tar.gz
tdeaddons-a442d656b50c63beb1488c7d6c1dce57ff99d113.zip
* Added searchbar
* Added directory filter * Added adblocker * Fixed webarchiver * Automake fixups git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1067137 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/webarchiver/plugin_webarchiver.cpp')
-rw-r--r--konq-plugins/webarchiver/plugin_webarchiver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/konq-plugins/webarchiver/plugin_webarchiver.cpp b/konq-plugins/webarchiver/plugin_webarchiver.cpp
index fca9bc7..81dc9ba 100644
--- a/konq-plugins/webarchiver/plugin_webarchiver.cpp
+++ b/konq-plugins/webarchiver/plugin_webarchiver.cpp
@@ -78,12 +78,12 @@ void PluginWebArchiver::slotSaveToArchive()
// Replace space with underscore, proposed Frank Pieczynski <pieczy@knuut.de>
- archiveName = archiveName.simplifyWhiteSpace();
archiveName.replace( "\\s:", " ");
+ archiveName = archiveName.simplifyWhiteSpace();
archiveName.replace( "?", "");
archiveName.replace( ":", "");
archiveName.replace( "/", "");
- archiveName = archiveName.replace( QRegExp("\\s+"), " ");
+ archiveName = archiveName.replace( QRegExp("\\s+"), "_");
archiveName = KGlobalSettings::documentPath() + "/" + archiveName + ".war" ;