Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
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.
 
 
 
 
 

44 lines
1.2 KiB

+++ src/gui/optionsdlg.h
@@ -44,6 +44,7 @@
{
TOGGLE_PAUSE,
OPEN_DEST,
+ PREVIEW,
NO_ACTION
};
+++ src/gui/optionsdlg.ui
@@ -300,6 +300,11 @@
</item>
<item>
<property name="text">
+ <string>Preview file</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
<string>No action</string>
</property>
</item>
@@ -325,6 +330,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
@@ -363,6 +363,9 @@
else
Utils::Misc::openPath(torrent->contentPath(true));
break;
+ case PREVIEW:
+ if (torrent->hasMetadata())
+ new PreviewSelectDialog(this, torrent);
}
}