Remove unnecessary IPC

This commit is contained in:
Feross Aboukhadijeh
2016-05-09 16:14:46 +02:00
parent 82dff65572
commit 18b126e0d2
4 changed files with 8 additions and 12 deletions

View File

@@ -211,9 +211,6 @@ function dispatch (action, ...args) {
if (action === 'addTorrent') {
addTorrent(args[0] /* torrent */)
}
if (action === 'showOpenSeedFiles') {
ipcRenderer.send('showOpenSeedFiles') /* open file or folder to seed */
}
if (action === 'showOpenTorrentFile') {
ipcRenderer.send('showOpenTorrentFile') /* open torrent file */
}