From 0f6e3b4aa6faeb48df9e595fb2f50e78333d64d7 Mon Sep 17 00:00:00 2001 From: alwin Date: Sun, 28 Dec 2003 17:50:33 +0000 Subject: fix for compiling with arm gcc 2.95.3 (next time I'll check before commit) --- 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("
Realy delete all mails in box
%1
",contextName). - arg((folder?folder->getDisplayName():"")), + arg(fname), QObject::tr("Yes",contextName), QObject::tr("No",contextName),QString::null,1,1); qDebug("Auswahl: %i",yesno); -- cgit v0.9.0.2