Remove import of QApplication.
This commit is contained in:
parent
4de105682e
commit
80f4f34c87
@ -37,7 +37,6 @@ import sys
|
|||||||
import traceback
|
import traceback
|
||||||
from pkg_resources import resource_filename
|
from pkg_resources import resource_filename
|
||||||
|
|
||||||
from PySide6.QtWidgets import QApplication
|
|
||||||
from PySide6 import QtGui, QtWidgets, QtCore
|
from PySide6 import QtGui, QtWidgets, QtCore
|
||||||
|
|
||||||
from qweechat import config
|
from qweechat import config
|
||||||
@ -552,7 +551,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
app = QApplication(sys.argv)
|
app = QtWidgets.QApplication(sys.argv)
|
||||||
app.setStyle(QtWidgets.QStyleFactory.create('Cleanlooks'))
|
app.setStyle(QtWidgets.QStyleFactory.create('Cleanlooks'))
|
||||||
app.setWindowIcon(QtGui.QIcon(
|
app.setWindowIcon(QtGui.QIcon(
|
||||||
resource_filename(__name__, 'data/icons/weechat.png')))
|
resource_filename(__name__, 'data/icons/weechat.png')))
|
||||||
|
Loading…
Reference in New Issue
Block a user