Remove import of QApplication.

This commit is contained in:
Abhilash Raj 2021-06-05 11:00:55 -07:00
parent 4de105682e
commit 80f4f34c87
No known key found for this signature in database
GPG key ID: 9D9B2BA061D0A67C

View file

@ -37,7 +37,6 @@ import sys
import traceback
from pkg_resources import resource_filename
from PySide6.QtWidgets import QApplication
from PySide6 import QtGui, QtWidgets, QtCore
from qweechat import config
@ -552,7 +551,7 @@ class MainWindow(QtWidgets.QMainWindow):
def main():
app = QApplication(sys.argv)
app = QtWidgets.QApplication(sys.argv)
app.setStyle(QtWidgets.QStyleFactory.create('Cleanlooks'))
app.setWindowIcon(QtGui.QIcon(
resource_filename(__name__, 'data/icons/weechat.png')))