Add "Show torrent options" double-click action

PR #15853.
Closes #15837.
This commit is contained in:
Vladimir Golovnev
2021-12-19 09:01:20 +03:00
committed by GitHub
parent aedd997604
commit 2fb0c86f1e
4 changed files with 40 additions and 32 deletions

View File

@@ -40,10 +40,11 @@ class AdvancedSettings;
// actions on double-click on torrents
enum DoubleClickAction
{
TOGGLE_PAUSE,
OPEN_DEST,
PREVIEW_FILE,
NO_ACTION
TOGGLE_PAUSE = 0,
OPEN_DEST = 1,
PREVIEW_FILE = 2,
NO_ACTION = 3,
SHOW_OPTIONS = 4
};
namespace Net
@@ -138,8 +139,6 @@ private:
QString getTorrentExportDir() const;
QString getFinishedTorrentExportDir() const;
QString askForExportDir(const QString &currentExportPath);
int getActionOnDblClOnTorrentDl() const;
int getActionOnDblClOnTorrentFn() const;
// Connection options
int getPort() const;
bool isUPnPEnabled() const;