KDE/kdesdk/kompare

Kevin Kofler kevin.kofler at chello.at
Wed Dec 19 09:11:16 CET 2007


SVN commit 750413 by kkofler:

Don't reset encoding to "Default" for no good reason, it breaks diffs of e.g. UTF-8 files. Thanks to George Goldberg <grundleborg at googlemail.com>.
CCMAIL: kompare-devel at kde.org
CCMAIL: grundleborg at googlemail.com

 M  +0 -4      kompare_shell.cpp  


--- trunk/KDE/kdesdk/kompare/kompare_shell.cpp #750412:750413
@@ -209,7 +209,6 @@
 {
 	kDebug(8102) << "Url = " << url.prettyUrl() << endl;
 	m_diffURL = url;
-	m_viewPart->setEncoding( "Default" );
 	m_viewPart->openDiff( url );
 }
 
@@ -224,7 +223,6 @@
 
 	file.close();
 
-	m_viewPart->setEncoding( "Default" );
 	m_viewPart->openDiff( diff );
 
 }
@@ -234,7 +232,6 @@
 	m_sourceURL = source;
 	m_destinationURL = destination;
 
-	m_viewPart->setEncoding( "Default" );
 	m_viewPart->compare( source, destination );
 }
 
@@ -243,7 +240,6 @@
 	m_sourceURL = url1;
 	m_destinationURL = diff;
 
-	m_viewPart->setEncoding( "Default" );
 	m_viewPart->openDirAndDiff( url1, diff );
 }
 


More information about the Kompare-devel mailing list