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

Use multi-arg instead [clazy-qstring-arg]

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 4.14.0
    • All Other Issues
    • None
    • Running on macOS in Qt Creator, I believe this is one of many other crazy bugs.
    • macOS

    Description

      I have the code:

      ```

      QString strKey = QString("%1%2").arg(clsJSON::mscszAck).arg(clsJSON::mscszCmdHB);

      ```

      To the right appears:

      ```

      Use multi-arg instead [clazy-qstring-arg]

      ```

      Why?  I looked up multi-arg online, this isn't correct and regardless of the warning the result from this code does exactly what I wanted it to do.

      Attachments

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

        Activity

          People

            con Eike Ziller
            simonplatten Simon Platten
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes