diff options
Diffstat (limited to 'konq-plugins/webarchiver/plugin_webarchiver.cpp')
-rw-r--r-- | konq-plugins/webarchiver/plugin_webarchiver.cpp | 4 |
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 <[email protected]> - 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" ; |