Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
kdepim4
r879180.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r879180.diff of Package kdepim4
Subject: Fix korganizer crashes on saving new calendar From: wstephenson@suse.de Bug: Patch-upstream: 879180 --- korganizer/actionmanager.cpp (revision 879179) +++ korganizer/actionmanager.cpp (revision 879180) @@ -1246,14 +1246,14 @@ KUrl ActionManager::getSaveURL() { KUrl url = KFileDialog::getSaveUrl( KStandardDirs::locateLocal( "data","korganizer/" ), - i18n( "*.vcs *.ics|Calendar Files" ), + i18n( "*.ics *.vcs|Calendar Files" ), dialogParent() ); - if ( url.isEmpty() ) { + if ( url == KUrl() ) { return url; } - QString filename = url.fileName( false ); + QString filename = url.fileName(); QString e = filename.right( 4 ); if ( e != QLatin1String( ".vcs" ) && e != QLatin1String( ".ics" ) ) { @@ -1545,7 +1545,9 @@ void ActionManager::uploadNewStuff() // FIXME (KNS2): use mCalendarView as parent widget if( mCalendarView->saveCalendar( tmpfilename ) ) { - KNS::Engine::upload( tmpfilename ); + //Laurent 2008-10-25: comment until KNS::Engine::upload is implemented + // otherwise it asserts by default... + //KNS::Engine::upload( tmpfilename ); } else { // FIXME (KNS2): display error here } Index: korganizer/actionmanager.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