Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-130665

QString::chopped triggers a fatal assert (it should not)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 6.7.2
    • None

    Description

      Easy to reproduce:

      QString s;
      auto s2 = s.chopped(3); // assert

      But no assert for the following, and this has always been so, and this is good and expected

      QString s;
      s.chop(3); // ok
       

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            philippe philippe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes