diff options
| author | Martin Kaistra | 2017-04-25 10:28:04 +0200 |
|---|---|---|
| committer | Martin Kaistra | 2017-04-25 10:28:04 +0200 |
| commit | 1a361388d045a4b315f53dc72df51a537c4aa263 (patch) | |
| tree | 612f64aecdb8523b9202c92e4a2a821d12ca4ed0 | |
| parent | b74c267cf282210b97db16ab6d4f92fc60baf65e (diff) | |
do not require X server for command line mode
| -rw-r--r-- | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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_()) |
