Merge pull request #2935 from Chocobo1/add_tray_menu

Add "Add link to torrent" menu in TrayIconMenu. Closes #2918.
This commit is contained in:
sledgehammer999 2015-06-08 00:51:38 +03:00
commit 9daf9e612b

View File

@ -1377,7 +1377,7 @@ QMenu* MainWindow::getTrayIconMenu()
myTrayIconMenu->addAction(actionToggleVisibility); myTrayIconMenu->addAction(actionToggleVisibility);
myTrayIconMenu->addSeparator(); myTrayIconMenu->addSeparator();
myTrayIconMenu->addAction(actionOpen); myTrayIconMenu->addAction(actionOpen);
//myTrayIconMenu->addAction(actionDownload_from_URL); myTrayIconMenu->addAction(actionDownload_from_URL);
myTrayIconMenu->addSeparator(); myTrayIconMenu->addSeparator();
const bool isAltBWEnabled = Preferences::instance()->isAltBandwidthEnabled(); const bool isAltBWEnabled = Preferences::instance()->isAltBandwidthEnabled();
updateAltSpeedsBtn(isAltBWEnabled); updateAltSpeedsBtn(isAltBWEnabled);