mirror of
https://github.com/vale981/rmview
synced 2025-03-05 09:11:39 -05:00
Executing app from init of app is ugly
This commit is contained in:
parent
cdd993ff8a
commit
d2e2921a78
1 changed files with 3 additions and 4 deletions
|
@ -93,9 +93,6 @@ class rMViewApp(QApplication):
|
|||
self.aboutToQuit.connect(self.joinWorkers)
|
||||
self.requestConnect()
|
||||
|
||||
ecode = self.exec_()
|
||||
print('\nBye!')
|
||||
sys.exit(ecode)
|
||||
|
||||
def autoResize(self, ratio):
|
||||
dg = self.desktop().availableGeometry(self.viewer)
|
||||
|
@ -212,4 +209,6 @@ class rMViewApp(QApplication):
|
|||
if __name__ == '__main__':
|
||||
log.setLevel(logging.INFO)
|
||||
QCoreApplication.setAttribute(Qt.AA_EnableHighDpiScaling)
|
||||
rMViewApp(sys.argv)
|
||||
ecode = rMViewApp(sys.argv).exec_()
|
||||
print('\nBye!')
|
||||
sys.exit(ecode)
|
||||
|
|
Loading…
Add table
Reference in a new issue