Parcourir la source

Port to updated KTextEditor completion API in KDE 3.92.0: MatchType=true -> MatchQuality=10.

git-svn-id: file:///var/svn/tigccpp/trunk@1197 9552661e-59e3-4036-b4f2-dbe53926924f
kevinkofler il y a 17 ans
Parent
commit
60b7ac1bf7
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      ktigcc/completion.cpp

+ 2 - 2
ktigcc/completion.cpp

@@ -619,8 +619,8 @@ QVariant CompletionModel::data(const QModelIndex &index, int role) const
       return (int)Public|GlobalScope;
     case ScopeIndex:
       return -1;
-    case MatchType:
-      return true;
+    case MatchQuality:
+      return 10;
     case HighlightingMethod:
       return QVariant();
     case InheritanceDepth: