Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-773

Pass command-line arguments to QtApplication

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 1.3.2
    • Fix Version/s: 1.4
    • Component/s: Other
    • Labels:
      None

      Description

      Picard don't handle command-line arguments as a Qt Application should, it has for effect to break the expected behavior for such application.

      According to http://pyqt.sourceforge.net/Docs/PyQt4/qapplication.html#QApplication, args are supposed to come from the command line, those are common options supported by any Qt app (+ those for X11 eventually).
      It happens we are not accepting them due to code at https://github.com/musicbrainz/picard/blob/master/picard/tagger.py#L683

      A command like `picard -d -reverse` should work, and it isn't !

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zas Zas
                Reporter:
                zas Zas
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: