Commits

Yuya Nishihara committed 4bdd486

qtlib: getSaveFileName in savefiles without keyword arguments (CentOs 6.3)

Comments (0)

Files changed (1)

tortoisehg/hgqt/qtlib.py

             extfilter += ";;"
         extfilter += _("All files (*)")
 
-        result = QFileDialog.getSaveFileName(
-            parent=parent, caption=_("Save file to"),
-            filter=extfilter,
-            directory=hglib.tounicode(filename))
+        result = QFileDialog.getSaveFileName(parent, _("Save file to"),
+                                             hglib.tounicode(filename),
+                                             extfilter)
         if not result:
             continue
         cwd = os.getcwd()