From 4ade9f1413228008c75e30670d9072567a291391 Mon Sep 17 00:00:00 2001 From: hsoft Date: Sun, 6 Sep 2009 08:25:56 +0000 Subject: [PATCH] Adapted the ME port to the latest qt changes. --HG-- extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%40123 --- me/qt/app_win.py | 18 ------------------ me/qt/start.py | 5 +---- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 me/qt/app_win.py diff --git a/me/qt/app_win.py b/me/qt/app_win.py deleted file mode 100644 index a096fdf8..00000000 --- a/me/qt/app_win.py +++ /dev/null @@ -1,18 +0,0 @@ -# Created By: Virgil Dupras -# Created On: 2009-05-21 -# $Id$ -# Copyright 2009 Hardcoded Software (http://www.hardcoded.net) -# -# This software is licensed under the "HS" License as described in the "LICENSE" file, -# which should be included with this package. The terms are also available at -# http://www.hardcoded.net/licenses/hs_license - -import winshell - -import app - -class DupeGuru(app.DupeGuru): - @staticmethod - def _recycle_dupe(dupe): - winshell.delete_file(unicode(dupe.path), no_confirm=True) - diff --git a/me/qt/start.py b/me/qt/start.py index ca0783ea..ed37e0a5 100644 --- a/me/qt/start.py +++ b/me/qt/start.py @@ -12,10 +12,7 @@ from PyQt4.QtGui import QApplication, QIcon, QPixmap import base.dg_rc -if sys.platform == 'win32': - from app_win import DupeGuru -else: - from app import DupeGuru +from app import DupeGuru if __name__ == "__main__": app = QApplication(sys.argv)