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

qt-everywhere-src-5.11.3/qtmultimedia/src/plugins/wmf/player/mfmetadatacontrol.cpp:306: bad list of compares ?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 5.12.1
    • 5.11.3
    • Multimedia
    • None
    • Windows

    Description

      qt-everywhere-src-5.11.3/qtmultimedia/src/plugins/wmf/player/mfmetadatacontrol.cpp:306]: (style) Expression is always false because 'else if' condition matches previous condition at line 302.

       

      Source code is

      } else if (key == PKEY_Comment) {
       m_availableMetaDatas.push_back(QMediaMetaData::Description);
       } else if (key == PKEY_Copyright) {
       m_availableMetaDatas.push_back(QMediaMetaData::Copyright);
       } else if (key == PKEY_Comment) {
       m_availableMetaDatas.push_back(QMediaMetaData::Comment);
      

      Attachments

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

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            dcb David Binderman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes