Commit b5513a55 authored by Pino Toscano's avatar Pino Toscano
Browse files

colorcheker.py: switch from QGuiApplication to QCoreApplication

Since QtGui is no more used, we can use QCoreApplication as
application, and require no display.
parent 47b207a3
......@@ -18,11 +18,10 @@
import sys
from PyQt5 import QtCore
from PyQt5 import QtGui
from PyQt5 import QtXml
from PIL import Image
app = QtGui.QGuiApplication(sys.argv)
app = QtCore.QCoreApplication(sys.argv)
if len(sys.argv) == 1:
print("Error: You have to specify the file to check")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment