Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F flatpak-qt-creator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Marco Bubke
  • flatpak-qt-creator
  • Repository
  • flatpak-qt-creator
  • src
  • plugins
  • cpptools
  • cppfindreferences.cpp
Find file Blame History Permalink
  • Andre Hartmann's avatar
    C++ Macro Usages: Fix search result encoding and highlighting. · 199b243b
    Andre Hartmann authored Oct 08, 2012
    
    
    If the result lines contain non-Latin1 characters (e.g. in comments),
    the output is garbled. Using QByteArrays with toUtf8() and fromUtf8()
    doesn't seem to be an alternative, as in this case the macro.offset() is
    no longer valid.
    
    So it seems to be the best to use QString for the result lines.
    
    Task-number: QTCREATORBUG-7122
    Change-Id: I57128c9c9f3eb182f079e305e97e9c5ac0a1bc61
    Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
    199b243b