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

        1. stringliteral.zip
          0.8 kB
          Friedemann Kleint

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: