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

List:       kde-commits
Subject:    KDE/kdegraphics/kpdf
From:       Laurent Montel <montel () kde ! org>
Date:       2005-11-17 13:55:19
Message-ID: 1132235719.155836.12763.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 481012 by mlaurent:

compile/link++

 M  +4 -4      part.cpp  


--- trunk/KDE/kdegraphics/kpdf/part.cpp #481011:481012
@@ -788,11 +788,11 @@
 		
 		if (factory())
 		{
-			Q3PtrList<KXMLGUIClient> clients(factory()->clients());
-			Q3PtrListIterator<KXMLGUIClient> clientsIt( clients );
-			for( ; (!m_showMenuBarAction || !m_showFullScreenAction) && clientsIt.current(); ++clientsIt)
+			QList<KXMLGUIClient*> clients(factory()->clients());
+			for (int i = 0; (!m_showMenuBarAction || !m_showFullScreenAction) && i < clients.size() ; ++i)
 			{
-				client = clientsIt.current();
+				
+				client = clients.at(i);
 				ac = client->actionCollection();
 				actions = ac->actions();
 				end = actions.end();
[prev in list] [next in list] [prev in thread] [next in thread] 

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