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

Duplicated mimetype constants

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.15.0-beta2
    • All Other Issues
    • None

    Description

      ProjectExplorer::Constants and CppTools::Constants have some entries which have the same variable name and the same value:

      const char C_HEADER_MIMETYPE[] = "text/x-chdr";
      const char C_SOURCE_MIMETYPE[] = "text/x-csrc";
      const char CPP_HEADER_MIMETYPE[] = "text/x-c++hdr";
      const char CPP_SOURCE_MIMETYPE[] = "text/x-c++src";

      Shall we deduplicate them? Feel free to assign this to me.

      Attachments

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

        Activity

          People

            portale Alessandro Portale
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes