summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mailit/writemail.cpp
authorzecke <zecke>2003-05-24 08:45:50 (UTC)
committer zecke <zecke>2003-05-24 08:45:50 (UTC)
commit3fb06f85a52b6fcbece50ed30c196efc2a91e8ce (patch) (side-by-side diff)
tree618d3b21756a07fad10e1e1359bd12a0e7e15089 /noncore/unsupported/mailit/writemail.cpp
parent694ff39fe4f0f4164edd7a2a80abe6be3a4fa2f9 (diff)
downloadopie-3fb06f85a52b6fcbece50ed30c196efc2a91e8ce.zip
opie-3fb06f85a52b6fcbece50ed30c196efc2a91e8ce.tar.gz
opie-3fb06f85a52b6fcbece50ed30c196efc2a91e8ce.tar.bz2
don't crash when compiled with gcc3
one Contact in libqpe one Contact in addresslist.h a nice game of russian roulette gcc3 lost...
Diffstat (limited to 'noncore/unsupported/mailit/writemail.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mailit/writemail.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/unsupported/mailit/writemail.cpp b/noncore/unsupported/mailit/writemail.cpp
index c75494e..0298cb3 100644
--- a/noncore/unsupported/mailit/writemail.cpp
+++ b/noncore/unsupported/mailit/writemail.cpp
@@ -37,12 +37,12 @@ WriteMail::~WriteMail()
void WriteMail::setAddressList(AddressList *list)
{
- Contact *cPtr;
+ AContact *cPtr;
addressList = list;
addressView->clear();
- QList<Contact> *cListPtr = addressList->getContactList();
+ QList<AContact> *cListPtr = addressList->getContactList();
QListViewItem *item;
for (cPtr = cListPtr->first(); cPtr != 0; cPtr = cListPtr->next() ) {
item = new QListViewItem(addressView, cPtr->name, cPtr->email);