diff --git a/pe/qt/app_win.py b/pe/qt/app_win.py deleted file mode 100644 index 95f8b112..00000000 --- a/pe/qt/app_win.py +++ /dev/null @@ -1,18 +0,0 @@ -# Created By: Virgil Dupras -# Created On: 2009-05-02 -# $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/pe/qt/start.py b/pe/qt/start.py index e3c523fb..7fb5a367 100644 --- a/pe/qt/start.py +++ b/pe/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)