Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
self.listWidget.addItems([deco])
if exist:
self.listWidget.addItems(["You may have more notifications."
" guiscrcpy do not have enough permissions to view them."])
else:
self.listWidget.addItems(["You have no notifications here!"])
if __name__ == "__main__":
app = QtWidgets.QApplication(sys.argv)
# app.aboutToQuit().connect(app.deleteLater)
window = QtWidgets.QMainWindow()
prog = MyApp(window)
window.show()
app.exec_()
sys.exit()
def __init__(self, Dialog):
super(MyApp, self).__init__()
Ui_Dialog.__init__(self)
self.setupUi(Dialog)
self.readNotif()