diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-08-07 23:38:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-08-07 23:38:43 +0900 |
commit | 4d976d10e8d99776881152c0911f80890ffba579 (patch) | |
tree | a4e93daf09727a15bd219ff3e2381fd9bda5c298 /kate/cppsymbolviewer/plugin_katesymbolviewer.cpp | |
parent | 5e63e8ee969a7eb7d9c75f0082ff4d9a9fc0fc9d (diff) | |
download | tdeaddons-4d976d10e8d99776881152c0911f80890ffba579.tar.gz tdeaddons-4d976d10e8d99776881152c0911f80890ffba579.zip |
Fixed recognition of C++ files in kate/cppsymbolviewer plugin. This resolves bug 2498. Also fixed building warnings.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kate/cppsymbolviewer/plugin_katesymbolviewer.cpp')
-rw-r--r-- | kate/cppsymbolviewer/plugin_katesymbolviewer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp b/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp index 3bc152a..3de7fa2 100644 --- a/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp +++ b/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp @@ -219,7 +219,7 @@ void KatePluginSymbolViewerView::parseSymbols(void) //TQListViewItem mcrNode = new TQListViewItem(symbols, symbols->lastItem(), hlModeName); - if (hlModeName == "C++" || hlModeName == "C") + if (hlModeName == "C" || hlModeName == "ISO C++" || hlModeName.find("C++")==0) parseCppSymbols(); else if (hlModeName == "Tcl/Tk") parseTclSymbols(); |