mirror of
https://github.com/Melon-Bread/RetroUFO
synced 2024-11-24 16:28:30 -05:00
Minor code clean-up
This commit is contained in:
parent
47ca889e22
commit
97efeea3e1
@ -207,13 +207,11 @@ class Form(QDialog):
|
|||||||
if not self.chkboxKeepDownload.isChecked():
|
if not self.chkboxKeepDownload.isChecked():
|
||||||
self.clean_up()
|
self.clean_up()
|
||||||
|
|
||||||
# TODO: Lock (disable) the UI elements while grabbing cores
|
target_platform = self.get_platform()
|
||||||
|
|
||||||
platform = self.get_platform()
|
|
||||||
architecture = self.get_architecture()
|
architecture = self.get_architecture()
|
||||||
location = self.get_location()
|
location = self.get_location()
|
||||||
|
|
||||||
self.grab = GrabThread(platform, architecture, location)
|
self.grab = GrabThread(target_platform, architecture, location)
|
||||||
self.grab.add_to_log.connect(self.update_log)
|
self.grab.add_to_log.connect(self.update_log)
|
||||||
self.grab.lock.connect(self.lock_ui)
|
self.grab.lock.connect(self.lock_ui)
|
||||||
self.grab.start()
|
self.grab.start()
|
||||||
|
Loading…
Reference in New Issue
Block a user