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

Quick fixes for string literals don't always work

    XMLWordPrintable

Details

    • 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

          For Gerrit Dashboard: QTCREATORBUG-13390
          # Subject Branch Project Status CR V

          Activity

            People

              kosjar Nikolai Kosjar
              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