Browse Source

Remove unnecessary properties in Application

sisyphus
JezerM 3 years ago
parent
commit
842db6f671
No known key found for this signature in database
GPG Key ID: 66BBC5D01388C6B5
  1. 2
      src/browser/browser.py

2
src/browser/browser.py

@ -115,7 +115,6 @@ def get_default_cursor():
class Application:
"""Main application"""
app: QApplication
desktop: QDesktopWidget
window: QMainWindow
states = WINDOW_STATES
greeter: Greeter
@ -129,7 +128,6 @@ class Application:
self.app = QApplication(sys.argv)
self.window = MainWindow()
self.desktop = self.app.desktop()
self.window.setAttribute(Qt.WA_DeleteOnClose)
self.window.setWindowTitle("Web Greeter")

Loading…
Cancel
Save