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