author | eilers <eilers> | 2002-12-20 13:15:02 (UTC) |
---|---|---|
committer | eilers <eilers> | 2002-12-20 13:15:02 (UTC) |
commit | b7dafc7fc37d05498cf3ad7b7d0981bf3a341b4a (patch) (side-by-side diff) | |
tree | b3d4250be0aeddcc8f05fb23781d07b282695841 | |
parent | 3bdaf9ff6bea6d7263bebff83dcdc05d4506d442 (diff) | |
download | opie-b7dafc7fc37d05498cf3ad7b7d0981bf3a341b4a.zip opie-b7dafc7fc37d05498cf3ad7b7d0981bf3a341b4a.tar.gz opie-b7dafc7fc37d05498cf3ad7b7d0981bf3a341b4a.tar.bz2 |
fixing wrong assignment between translated untranslated fieldnames
-rw-r--r-- | core/pim/addressbook/contacteditor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp index 4e73114..254cff7 100644 --- a/core/pim/addressbook/contacteditor.cpp +++ b/core/pim/addressbook/contacteditor.cpp @@ -69,52 +69,52 @@ ContactEditor::ContactEditor( const OContact &entry, { init(); setEntry( entry ); cmbDefaultEmail = 0; defaultEmailChooserPosition = -1; } ContactEditor::~ContactEditor() { } void ContactEditor::init() { useFullName = true; uint i = 0; QStringList trlChooserNames; for (i = 0; i <= 6; i++) { slHomeAddress.append( "" ); slBusinessAddress.append( "" ); } - trlChooserNames = OContactFields::trphonefields(); - slChooserNames = OContactFields::untrphonefields(); - slDynamicEntries = OContactFields::untrdetailsfields(); - trlDynamicEntries = OContactFields::trdetailsfields(); + trlChooserNames = OContactFields::trphonefields( false ); + slChooserNames = OContactFields::untrphonefields( false ); + slDynamicEntries = OContactFields::untrdetailsfields( false ); + trlDynamicEntries = OContactFields::trdetailsfields( false ); for (i = 0; i < slChooserNames.count(); i++) slChooserValues.append(""); QVBoxLayout *vb = new QVBoxLayout( this ); tabMain = new QTabWidget( this ); vb->addWidget( tabMain ); QWidget *tabViewport = new QWidget ( tabMain ); vb = new QVBoxLayout( tabViewport ); svGeneral = new QScrollView( tabViewport ); vb->addWidget( svGeneral, 0, 0 ); svGeneral->setResizePolicy( QScrollView::AutoOneFit ); svGeneral->setFrameStyle( QFrame::NoFrame ); QWidget *container = new QWidget( svGeneral->viewport() ); svGeneral->addChild( container ); QGridLayout *gl = new QGridLayout( container, 1, 1, 2, 4 ); gl->setResizeMode( QLayout::FreeResize ); |