OSDN Git Service

Insertion point fix for Declaration from Definition quickfix
authorLasse Holmstedt <lasse.holmstedt@nokia.com>
Fri, 30 Jul 2010 15:41:46 +0000 (17:41 +0200)
committerLasse Holmstedt <lasse.holmstedt@nokia.com>
Fri, 30 Jul 2010 15:45:28 +0000 (17:45 +0200)
Reviewed-by: Erik Verbruggen
src/libs/cplusplus/InsertionPointLocator.cpp

index 2b29509..23c4595 100644 (file)
@@ -214,11 +214,11 @@ protected:
                     break;
 
                 case T_PROTECTED:
-                    newXsSpec = isSlot ? InsertionPointLocator::PublicSlot : InsertionPointLocator::Protected;
+                    newXsSpec = isSlot ? InsertionPointLocator::ProtectedSlot : InsertionPointLocator::Protected;
                     break;
 
                 case T_PRIVATE:
-                    newXsSpec = isSlot ? InsertionPointLocator::PublicSlot : InsertionPointLocator::Private;
+                    newXsSpec = isSlot ? InsertionPointLocator::PrivateSlot: InsertionPointLocator::Private;
                     break;
 
                 case T_Q_SIGNALS: