guihelpers: Import PyQt only when needed
This commit is contained in:
parent
4bf094a3f8
commit
071a01d29e
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user