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

Fix Browser.qml warnings

XMLWordPrintable

    • 1de080649c6b810ed6bc05e883795687ecde1f3d

      When developer is running her QML code on a device with qmlviewer, qmlviewer utilizes it's own custom file browser called Browser.qml. Current implementation of Browser.qml generates a lot of warnings, masking valid warnings in QML code being run with qmlviewer. qmlviewer is first and foremost a development tool, so fixing these warnings is important.

      QDir::exists: Empty or null file name
      QDir::exists: Empty or null file name
      qrc:/browser/Browser.qml:233: TypeError: Result of expression 'view1.currentItem' [null] is not an object
      qrc:/browser/Browser.qml:233: TypeError: Result of expression 'view1.currentItem' [null] is not an object
      qrc:/browser/Browser.qml:233: TypeError: Result of expression 'view1.currentItem' [null] is not an object
      

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

            jpetrell Joona Petrell
            jpetrell Joona Petrell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes