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

List:       kde-commits
Subject:    KDE/kdevplatform/plugins
From:       Peter Oberndorfer <kumbayo84 () arcor ! de>
Date:       2009-05-14 20:11:08
Message-ID: 1242331868.772623.26809.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 968050 by poberndorfer:

fix signed/unsigned compare warnings

 M  +1 -1      quickopen/quickopenmodel.cpp  
 M  +1 -1      quickopen/quickopenmodel.h  
 M  +1 -1      sourceformatter/sourceformatterplugin.cpp  


--- trunk/KDE/kdevplatform/plugins/quickopen/quickopenmodel.cpp #968049:968050
@@ -303,7 +303,7 @@
 void QuickOpenModel::resetTimer() {
 
     //Remove all cached data behind row m_resetBehindRow
-    for(QHash<uint, KDevelop::QuickOpenDataPointer>::iterator it = \
m_cachedData.begin(); it != m_cachedData.end(); ) { +    for(DataList::iterator it = \
m_cachedData.begin(); it != m_cachedData.end(); ) {  if(it.key() > m_resetBehindRow)
             it = m_cachedData.erase(it);
         else
--- trunk/KDE/kdevplatform/plugins/quickopen/quickopenmodel.h #968049:968050
@@ -99,7 +99,7 @@
 
     KDevelop::QuickOpenDataPointer getItem( int row, bool noReset = false ) const;
     
-    typedef QHash<uint, KDevelop::QuickOpenDataPointer> DataList;
+    typedef QHash<int, KDevelop::QuickOpenDataPointer> DataList;
     mutable DataList m_cachedData;
 
     QTreeView* m_treeView;
--- trunk/KDE/kdevplatform/plugins/sourceformatter/sourceformatterplugin.cpp \
#968049:968050 @@ -123,7 +123,7 @@
 	// put the selection back to the same indent level.
 	// taking note of the config options.
 	if (has_selection) {
-		unsigned int indentCount = 0;
+		int indentCount = 0;
 		QString indentWith("");
 		QString original = view->selectionText();
 


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

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