[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/komo/kdepim/mobile/contacts
From: Tobias Koenig <tokoe () kde ! org>
Date: 2010-06-22 13:53:55
Message-ID: 20100622140155.E0905AC8DA () svn ! kde ! org
[Download RAW message or body]
SVN commit 1141320 by tokoe:
Fix appearance of 'Delete' messagebox and loading of addresses
M +4 -1 editorlocation.cpp
--- branches/work/komo/kdepim/mobile/contacts/editorlocation.cpp #1141319:1141320
@@ -141,7 +141,7 @@
void removeAddress()
{
- const int answer = KMessageBox::questionYesNo( q, i18n( "Do you really want to \
delete this address?" ), + const int answer = KMessageBox::questionYesNo( 0, \
i18n( "Do you really want to delete this address?" ),
i18n( "Delete Address" ),
KGuiItem( "Delete" ) );
if ( answer == KMessageBox::No )
@@ -205,6 +205,9 @@
void EditorLocation::loadContact( const KABC::Addressee &contact, const \
Akonadi::ContactMetaData& ) {
d->mModel->setLocations( contact.addresses() );
+ d->mUi.addressSelectionCombo->setCurrentIndex( 0 );
+ d->mMapper->setCurrentIndex( 0 );
+ d->addressCountChanged();
}
void EditorLocation::saveContact( KABC::Addressee &contact, \
Akonadi::ContactMetaData& ) const
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic