[Bug 249864] Can select arbitray file as data source for Account
Tobias Koenig
tokoe at kde.org
Wed Jan 5 09:56:36 GMT 2011
https://bugs.kde.org/show_bug.cgi?id=249864
Tobias Koenig <tokoe at kde.org> 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 <tokoe at kde.org>
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.
More information about the Kdepim-bugs
mailing list