소스 검색

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 17 년 전
부모
커밋
60b7ac1bf7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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: