Fixed PyQt4 import in guihelpers

This commit is contained in:
Rafał Wojdyła 2013-10-18 23:10:38 +02:00 committed by Marek Marczykowski-Górecki
parent fef2672935
commit b6a379e94a

View File

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