(self, newTrustedDomains)
| 544 | self.playlist.changeToPlaylistIndexFromFilename(filename) |
| 545 | |
| 546 | def setTrustedDomains(self, newTrustedDomains): |
| 547 | from syncplay.ui.ConfigurationGetter import ConfigurationGetter |
| 548 | ConfigurationGetter().setConfigOption("trustedDomains", newTrustedDomains) |
| 549 | oldTrustedDomains = self._config['trustedDomains'] |
| 550 | if oldTrustedDomains != newTrustedDomains: |
| 551 | self._config['trustedDomains'] = newTrustedDomains |
| 552 | self.fileSwitchFoundFiles() |
| 553 | self.ui.showMessage("Trusted domains updated") |
| 554 | # TODO: Properly add message for setting trusted domains! |
| 555 | # TODO: Handle cases where users add www. to start of domain |
| 556 | |
| 557 | def setRoomList(self, newRoomList): |
| 558 | newRoomList = sorted(newRoomList) |
no test coverage detected