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

List:       kde-commits
Subject:    kdepim/kalarm
From:       David Jarvie <software () astrojar ! org ! uk>
Date:       2005-04-10 23:28:24
Message-ID: 20050410232824.7C37A63F () office ! kde ! org
[Download RAW message or body]

CVS commit by djarvie: 

Backwards compatibility


  M +2 -2      templatemenuaction.cpp   1.2


--- kdepim/kalarm/templatemenuaction.cpp  #1.1:1.2
@@ -50,6 +50,6 @@ void TemplateMenuAction::slotInitMenu()
         menu->clear();
         QPtrList<KAEvent> templates = KAlarm::templateList();
-        for (QPtrList<KAEvent>::ConstIterator it = templates.begin();  it != templates.end();  ++it)
-                menu->insertItem((*it)->templateName());
+        for (KAEvent* e = templates.first();  e;  e = templates.next())
+                menu->insertItem(e->templateName());
 }
 


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

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