~ubuntu-branches/ubuntu/lucid/kdepim/lucid-updates

« back to all changes in this revision

Viewing changes to kmail/mailinglistpropertiesdialog.cpp

Tags: 4:4.4.8-0ubuntu0.0.1
* Upload to lucid-proposed for 10.04.2 (LP: #691068)
  - No SRU/security upload to verify
  - Odd versioning to leave room for an eventual SRU to Maverick

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
}
180
180
 
181
181
//-----------------------------------------------------------------------------
182
 
bool MailingListFolderPropertiesDialog::save()
 
182
void MailingListFolderPropertiesDialog::save()
183
183
{
184
184
  if( mFolder )
185
185
  {
188
188
    fillMLFromWidgets();
189
189
    mFolder->setMailingList( mMailingList );
190
190
  }
191
 
  return true;
192
191
}
193
192
 
194
193
//----------------------------------------------------------------------------
270
269
  for ( QStringList::ConstIterator it = oldList.constBegin();
271
270
        it != oldList.constEnd(); ++it ) {
272
271
    if ( !(*it).startsWith(QLatin1String("http:")) && !(*it).startsWith(QLatin1String("https:")) &&
273
 
         !(*it).startsWith(QLatin1String("mailto:")) && ( (*it).contains('@') ) ) {
 
272
         !(*it).startsWith(QLatin1String("mailto:")) && ( (*it).contains(QLatin1Char('@')) ) ) {
274
273
      changed = true;
275
274
      newList << "mailto:" + *it;
276
275
    }
331
330
 
332
331
void MailingListFolderPropertiesDialog::slotInvokeHandler()
333
332
{
 
333
  save();
334
334
  KMCommand *command =0;
335
335
  switch ( mAddressCombo->currentIndex() ) {
336
336
  case 0: