do not require X server for command line mode

This commit is contained in:
Martin Kaistra 2017-04-25 10:28:04 +02:00
parent b74c267cf2
commit 1a361388d0
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ class Main(QtCore.QObject):
if len(sys.argv) > 1:
# command line mode
app = QtGui.QApplication(sys.argv)
app = QtGui.QApplication(sys.argv, False)
command = Command()
signal.signal(signal.SIGINT, command.cleanUp)
sys.exit(app.exec_())