[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.4/kdeaddons/konq-plugins/webarchiver
From:       Pascal Létourneau <pletourn () globetrotter ! net>
Date:       2005-06-10 19:53:20
Message-ID: 1118433200.438184.23259.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 424101 by pletourn:

Build the KURL the right way


 M  +5 -1      webarchivecreator.cpp  


--- branches/KDE/3.4/kdeaddons/konq-plugins/webarchiver/webarchivecreator.cpp #424100:424101
@@ -58,7 +58,11 @@
 		m_html->setJavaEnabled(false);
 		m_html->setPluginsEnabled(false);
 	}
-	m_html->openURL(KURL( "tar:" + path + "/index.html" ));
+	KURL url;
+	url.setProtocol( "tar" );
+	url.setPath( path );
+	url.addPath( "index.html" );
+	m_html->openURL( url );
 	m_completed = false;
 	startTimer(5000);
 	while (!m_completed)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic