# This patch adds the functionality of previewing a file when double-clicking on it. # I hope to send this patch to upstream soon, but handling translations is a pain. +++ src/gui/optionsdlg.h @@ -44,6 +44,7 @@ { TOGGLE_PAUSE, OPEN_DEST, + PREVIEW, NO_ACTION }; +++ src/gui/optionsdlg.ui @@ -295,6 +295,11 @@ + Preview file + + + + No action @@ -320,6 +325,11 @@ + + Preview file + + + No action +++ src/gui/transferlistwidget.cpp @@ -239,6 +239,9 @@ else Utils::Misc::openPath(torrent->contentPath(true)); break; + case PREVIEW: + if (torrent->hasMetadata()) + new PreviewSelect(this, torrent); } }