[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_2_BRANCH: kdepim/kmail
From:       Till Adam <adam () kde ! org>
Date:       2004-02-04 10:10:11
Message-ID: 20040204101011.E3F9A990D () office ! kde ! org
[Download RAW message or body]

CVS commit by tilladam: 

Make temporaries const.


  M +2 -2      kmfolderimap.cpp   1.163.2.2


--- kdepim/kmail/kmfolderimap.cpp  #1.163.2.1:1.163.2.2
@@ -1208,5 +1208,5 @@ void KMFolderImap::deleteMessage(KMMessa
   KURL url = mAccount->getUrl();
   KMFolderImap *msg_parent = static_cast<KMFolderImap*>(msg->parent());
-  QString uid = msg->headerField("X-UID");
+  const QString uid = msg->headerField("X-UID");
   /* If the uid is empty the delete job below will nuke all mail in the 
      folder, so we better safeguard against that. See ::expungeFolder, as
@@ -1238,5 +1238,5 @@ void KMFolderImap::deleteMessage(QPtrLis
   for ( QStringList::Iterator it = sets.begin(); it != sets.end(); ++it )
   {
-    QString uid = *it;
+    const QString uid = *it;
     // Don't delete with no uid, that nukes the folder. Should not happen, but
     // better safe than sorry.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic