You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.2 KiB
46 lines
1.2 KiB
8 years ago
|
+++ src/gui/optionsdlg.h
|
||
|
@@ -44,6 +44,7 @@
|
||
|
{
|
||
|
TOGGLE_PAUSE,
|
||
|
OPEN_DEST,
|
||
|
+ PREVIEW,
|
||
|
NO_ACTION
|
||
|
};
|
||
|
|
||
|
+++ src/gui/optionsdlg.ui
|
||
|
@@ -295,6 +295,11 @@
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
+ <string>Preview file</string>
|
||
|
+ </property>
|
||
|
+ </item>
|
||
|
+ <item>
|
||
|
+ <property name="text">
|
||
|
<string>No action</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
@@ -320,6 +325,11 @@
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
+ <property name="text">
|
||
|
+ <string>Preview file</string>
|
||
|
+ </property>
|
||
|
+ </item>
|
||
|
+ <item>
|
||
|
<property name="text">
|
||
|
<string>No action</string>
|
||
|
</property>
|
||
|
+++ 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);
|
||
|
}
|
||
|
}
|
||
8 years ago
|
|