X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FTools%2FMGCleanerPlug%2FMGCleanerplug_plugin.py;h=f1132f396de88c97b4860043c76372f138b80dad;hp=6043b7b0a6c3534c9e8da297e30145f1e1142db2;hb=0b191577fc9ae12c2f265a4507e4dab72e385162;hpb=251f8c052dd12dd29922210dc901b295fe999a0e diff --git a/src/Tools/MGCleanerPlug/MGCleanerplug_plugin.py b/src/Tools/MGCleanerPlug/MGCleanerplug_plugin.py index 6043b7b0a..f1132f396 100644 --- a/src/Tools/MGCleanerPlug/MGCleanerplug_plugin.py +++ b/src/Tools/MGCleanerPlug/MGCleanerplug_plugin.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2013-2015 EDF R&D +# Copyright (C) 2013-2016 EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -30,10 +30,7 @@ def MGCleanerLct(context): import os import subprocess import tempfile - from PyQt4 import QtCore - from PyQt4 import QtGui - from PyQt4.QtGui import QFileDialog - from PyQt4.QtGui import QMessageBox + from qtsalome import QFileDialog, QMessageBox #prior test to avoid unnecessary user GUI work with ending crash try :