|
|
@ -1,6 +1,3 @@ |
|
|
|
# Add functionality to preview torrent when double clicking on it. |
|
|
|
# Lacks proper translations. |
|
|
|
|
|
|
|
+++ src/gui/optionsdlg.h
|
|
|
|
@@ -44,6 +44,7 @@
|
|
|
|
{ |
|
|
@ -11,7 +8,7 @@ |
|
|
|
}; |
|
|
|
|
|
|
|
+++ src/gui/optionsdlg.ui
|
|
|
|
@@ -295,6 +295,11 @@
|
|
|
|
@@ -300,6 +300,11 @@
|
|
|
|
</item> |
|
|
|
<item> |
|
|
|
<property name="text"> |
|
|
@ -23,7 +20,7 @@ |
|
|
|
<string>No action</string> |
|
|
|
</property> |
|
|
|
</item> |
|
|
|
@@ -320,6 +325,11 @@
|
|
|
|
@@ -325,6 +330,11 @@
|
|
|
|
</property> |
|
|
|
</item> |
|
|
|
<item> |
|
|
@ -36,13 +33,12 @@ |
|
|
|
<string>No action</string> |
|
|
|
</property> |
|
|
|
+++ src/gui/transferlistwidget.cpp
|
|
|
|
@@ -239,6 +239,9 @@
|
|
|
|
@@ -363,6 +363,9 @@
|
|
|
|
else |
|
|
|
Utils::Misc::openPath(torrent->contentPath(true)); |
|
|
|
break; |
|
|
|
+ case PREVIEW:
|
|
|
|
+ if (torrent->hasMetadata())
|
|
|
|
+ new PreviewSelect(this, torrent);
|
|
|
|
+ new PreviewSelectDialog(this, torrent);
|
|
|
|
} |
|
|
|
} |
|
|
|
|