Commits

Yuya Nishihara  committed d0ca3b6

qtapp: remove unused variables

  • Participants
  • Parent commits aa6bc84
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/qtapp.py

         # fixes font placement on OSX 10.9 with QT <= 4.8.5
         # see QTBUG-32789 (https://bugreports.qt-project.org/browse/QTBUG-32789)
         if sys.platform == 'darwin' and QT_VERSION <= 0x040805:
-            version, versionInfo, machine = platform.mac_ver()
+            version = platform.mac_ver()[0]
             version = '.'.join(version.split('.')[:2])
             if version == '10.9':
                 QFont.insertSubstitution('.Lucida Grande UI', 'Lucida Grande')