Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-13390

Quick fixes for string literals don't always work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: Qt Creator 3.3.0-beta1
    • Fix Version/s: Qt Creator 3.5.0-rc1
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
      None
    • Environment:
      All
    • Commits:
      892cb154b2a781e9056d6754f3d24a3912d9ca17

      Description

      • In the attached example, move cursor over "bla" inline 'mainWindow.setWindowTitle("bla");'
      • Right-click, note quick fix "Convert to QLatin1String().." and related are there
      • Move cursor to line with literal addition 'QT_VERSION_STR + "bla"', right click on "bla": quick fix are not offered

      Icing on the cake would be the quick fixes being offered when right-clicking on QT_VERSION_STR

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              kosjar Nikolai Kosjar
              Reporter:
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes