Forgot to change args passed into ServerStatus

This commit is contained in:
Micah Lee 2018-04-25 20:22:29 -07:00
parent 8d03f83b88
commit 5a1d649e88
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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)