mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-14 05:31:25 -05:00
Forgot to change args passed into ServerStatus
This commit is contained in:
parent
8d03f83b88
commit
5a1d649e88
@ -39,7 +39,7 @@ class ReceiveMode(QtWidgets.QWidget):
|
||||
self.system_tray = system_tray
|
||||
|
||||
# Server status
|
||||
self.server_status = ServerStatus(self.common, self.qtapp, self.app, self.web)
|
||||
self.server_status = ServerStatus(self.common, self.qtapp, self.app, self.web, False)
|
||||
|
||||
# Primary action layout
|
||||
primary_action_layout = QtWidgets.QVBoxLayout()
|
||||
|
@ -62,7 +62,7 @@ class ShareMode(QtWidgets.QWidget):
|
||||
self.file_selection.file_list.add_file(filename)
|
||||
|
||||
# Server status
|
||||
self.server_status = ServerStatus(self.common, self.qtapp, self.app, self.web, self.file_selection)
|
||||
self.server_status = ServerStatus(self.common, self.qtapp, self.app, self.web, True, self.file_selection)
|
||||
self.server_status.server_started.connect(self.file_selection.server_started)
|
||||
self.server_status.server_started.connect(self.start_server)
|
||||
self.server_status.server_stopped.connect(self.file_selection.server_stopped)
|
||||
|
Loading…
x
Reference in New Issue
Block a user