From 5d99c48fe0608dd2216fe5f465dc323aa11e9c04 Mon Sep 17 00:00:00 2001 From: Philip Ridout Date: Thu, 10 Aug 2017 07:28:30 +0100 Subject: [PATCH] Merge fix --- openlp/core/ui/lib/filedialog.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/openlp/core/ui/lib/filedialog.py b/openlp/core/ui/lib/filedialog.py index 379b34177..bd2bb5109 100755 --- a/openlp/core/ui/lib/filedialog.py +++ b/openlp/core/ui/lib/filedialog.py @@ -20,7 +20,6 @@ # Temple Place, Suite 330, Boston, MA 02111-1307 USA # ############################################################################### """ Patch the QFileDialog so it accepts and returns Path objects""" -from functools import wraps from pathlib import Path from PyQt5 import QtWidgets @@ -73,7 +72,7 @@ class FileDialog(QtWidgets.QFileDialog): @classmethod def getOpenFileNames(cls, *args, **kwargs): """ - Wrap `getOpenFileNames` so that it can be called with, and return Path objects + Wraps `getOpenFileNames` so that it can be called with, and return Path objects :type parent: QtWidgets.QWidget or None :type caption: str @@ -95,7 +94,7 @@ class FileDialog(QtWidgets.QFileDialog): @classmethod def getSaveFileName(cls, *args, **kwargs): """ - Wrap `getSaveFileName` so that it can be called with, and return Path objects + Wraps `getSaveFileName` so that it can be called with, and return Path objects :type parent: QtWidgets.QWidget or None :type caption: str