summaryrefslogtreecommitdiff
authoralwin <alwin>2003-12-28 17:50:33 (UTC)
committer alwin <alwin>2003-12-28 17:50:33 (UTC)
commit0f6e3b4aa6faeb48df9e595fb2f50e78333d64d7 (patch) (side-by-side diff)
treefee79098277e76942485646d766b21c93ccbc599
parent696a2dcfcb65fbb24b709bbae0a18a7854e2d72c (diff)
downloadopie-0f6e3b4aa6faeb48df9e595fb2f50e78333d64d7.zip
opie-0f6e3b4aa6faeb48df9e595fb2f50e78333d64d7.tar.gz
opie-0f6e3b4aa6faeb48df9e595fb2f50e78333d64d7.tar.bz2
fix for compiling with arm gcc 2.95.3 (next time I'll check before commit)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/accountview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/net/mail/accountview.cpp b/noncore/net/mail/accountview.cpp
index f861c20..9f07f56 100644
--- a/noncore/net/mail/accountview.cpp
+++ b/noncore/net/mail/accountview.cpp
@@ -395,9 +395,11 @@ const QString AccountViewItem::contextName="AccountViewItem";
void AccountViewItem::deleteAllMail(AbstractMail*wrapper,Folder*folder)
{
if (!wrapper) return;
+ QString fname="";
+ if (folder) fname = folder->getDisplayName();
int yesno = QMessageBox::warning(0,QObject::tr("Delete all mails",contextName),
QObject::tr("<center>Realy delete all mails in box <br>%1</center>",contextName).
- arg((folder?folder->getDisplayName():"")),
+ arg(fname),
QObject::tr("Yes",contextName),
QObject::tr("No",contextName),QString::null,1,1);
qDebug("Auswahl: %i",yesno);