https://bugs.kde.org/show_bug.cgi?id=249864
Tobias Koenig <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Tobias Koenig <tokoe kde org> 2011-01-05 10:56:35 --- commit 36697fb1dab3fd2e1b550ba94807d30016720b38 branch master Author: Tobias Koenig <[email protected]> Date: Wed Jan 5 10:58:45 2011 +0100 Use explicit file extension filter on mobile In mobile mode the automatic expansion of mimetype aliases does not work for file extension filters, so set them explicitly. BUG: 249864 diff --git a/resources/ical/icalresourcebase.cpp b/resources/ical/icalresourcebase.cpp index 860ef3f..0d18f06 100644 --- a/resources/ical/icalresourcebase.cpp +++ b/resources/ical/icalresourcebase.cpp @@ -78,7 +78,11 @@ void ICalResourceBase::aboutToQuit() void ICalResourceBase::customizeConfigDialog( SingleFileResourceConfigDialog<Settings> *dlg ) { +#ifndef KDEPIM_MOBILE_UI dlg->setFilter( "text/calendar" ); +#else + dlg->setFilter( "*.ics *.vcs" ); +#endif dlg->setCaption( i18n("Select Calendar") ); dlg->setLocalFileOnly( true ); } -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list [email protected] https://mail.kde.org/mailman/listinfo/kdepim-bugs
