guihelpers: Import PyQt only when needed

This commit is contained in:
Marek Marczykowski-Górecki 2013-10-03 21:27:01 +02:00
parent 4bf094a3f8
commit 071a01d29e

View File

@ -23,13 +23,12 @@
import sys
from optparse import OptionParser
from PyQt4.QtCore import *
from PyQt4.QtGui import *
app = None
system_bus = None
def prepare_app():
from PyQt4.QtGui import QApplication,QMessageBox
global app
app = QApplication(sys.argv)
app.setOrganizationName("The Qubes Project")