author | zautrix <zautrix> | 2005-03-29 18:35:10 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-29 18:35:10 (UTC) |
commit | b70d9695bb6a2d567b75965c0530792ad90c84a3 (patch) (unidiff) | |
tree | bc27647d044cf4a8d9c75acd19d9a2d078fe00b2 /kaddressbook | |
parent | a7c827aa0e555206b60dec3bc07f7afab4352883 (diff) | |
download | kdepimpi-b70d9695bb6a2d567b75965c0530792ad90c84a3.zip kdepimpi-b70d9695bb6a2d567b75965c0530792ad90c84a3.tar.gz kdepimpi-b70d9695bb6a2d567b75965c0530792ad90c84a3.tar.bz2 |
icons
-rw-r--r-- | kaddressbook/addresseeeditordialog.cpp | 2 | ||||
-rw-r--r-- | kaddressbook/kabcore.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/kaddressbook/addresseeeditordialog.cpp b/kaddressbook/addresseeeditordialog.cpp index a84fc61..b5a60f2 100644 --- a/kaddressbook/addresseeeditordialog.cpp +++ b/kaddressbook/addresseeeditordialog.cpp | |||
@@ -64,13 +64,13 @@ AddresseeEditorDialog::~AddresseeEditorDialog() | |||
64 | void AddresseeEditorDialog::setAddressee( const KABC::Addressee &addr ) | 64 | void AddresseeEditorDialog::setAddressee( const KABC::Addressee &addr ) |
65 | { | 65 | { |
66 | enableButton( KDialogBase::Apply, false ); | 66 | enableButton( KDialogBase::Apply, false ); |
67 | 67 | ||
68 | mEditorWidget->setAddressee( addr ); | 68 | mEditorWidget->setAddressee( addr ); |
69 | 69 | ||
70 | this->setCaption("Edit " + addr.formattedName()); | 70 | this->setCaption(i18n ("Edit ") + addr.formattedName()); |
71 | } | 71 | } |
72 | 72 | ||
73 | KABC::Addressee AddresseeEditorDialog::addressee() | 73 | KABC::Addressee AddresseeEditorDialog::addressee() |
74 | { | 74 | { |
75 | return mEditorWidget->addressee(); | 75 | return mEditorWidget->addressee(); |
76 | } | 76 | } |
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 3f9b546..e1a490d 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -1257,12 +1257,13 @@ void KABCore::newContact() | |||
1257 | resource = static_cast<KABC::Resource*>( res ); | 1257 | resource = static_cast<KABC::Resource*>( res ); |
1258 | 1258 | ||
1259 | if ( resource ) { | 1259 | if ( resource ) { |
1260 | KABC::Addressee addr; | 1260 | KABC::Addressee addr; |
1261 | addr.setResource( resource ); | 1261 | addr.setResource( resource ); |
1262 | mEditorDialog->setAddressee( addr ); | 1262 | mEditorDialog->setAddressee( addr ); |
1263 | mEditorDialog->setCaption( i18n("Edit new contact")); | ||
1263 | KApplication::execDialog ( mEditorDialog ); | 1264 | KApplication::execDialog ( mEditorDialog ); |
1264 | 1265 | ||
1265 | } else | 1266 | } else |
1266 | return; | 1267 | return; |
1267 | 1268 | ||
1268 | // mEditorDict.insert( dialog->addressee().uid(), dialog ); | 1269 | // mEditorDict.insert( dialog->addressee().uid(), dialog ); |