Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
kdepim4
r904945.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r904945.diff of Package kdepim4
Subject: kaddressbook: Fix LDIF import for files with windows linebreaks From: wstephenson@suse.de Bug: Patch-upstream: 904945 --- kaddressbook/xxport/ldif_xxport.cpp (revision 904944) +++ kaddressbook/xxport/ldif_xxport.cpp (revision 904945) @@ -71,7 +71,7 @@ KABC::Addressee::List LDIFXXPort::import return addrList; QFile file( fileName ); - if ( !file.open( QIODevice::ReadOnly ) ) { + if ( !file.open( QIODevice::ReadOnly | QIODevice::Text ) ) { QString msg = i18n( "<qt>Unable to open <b>%1</b> for reading.</qt>", fileName ); KMessageBox::error( parentWidget(), msg ); return addrList; Index: kaddressbook/xxport/ldif_xxport.cpp ===================================================================
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor