mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
Explicitly create an ivar for Torrent's remove flag
This commit is contained in:
parent
379c9d4b19
commit
2586396a11
3 changed files with 25 additions and 22 deletions
|
@ -46,6 +46,8 @@
|
|||
NSIndexSet * fPreviousFinishedIndexes;
|
||||
NSDate * fPreviousFinishedIndexesDate;
|
||||
|
||||
BOOL fRemoveWhenFinishSeeding;
|
||||
|
||||
NSInteger fGroupValue;
|
||||
|
||||
BOOL fResumeOnWake;
|
||||
|
|
|
@ -103,6 +103,7 @@ int trashDataFile(const char * filename)
|
|||
|
||||
@implementation Torrent
|
||||
|
||||
#warning remove ivars in header when 64-bit only (or it compiles in 32-bit mode)
|
||||
@synthesize removeWhenFinishSeeding = fRemoveWhenFinishSeeding;
|
||||
|
||||
- (id) initWithPath: (NSString *) path location: (NSString *) location deleteTorrentFile: (BOOL) torrentDelete
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView"/>
|
||||
</object>
|
||||
<string key="NSScreenRect">{{0, 0}, {2560, 1440}}</string>
|
||||
<string key="NSScreenRect">{{0, 0}, {2560, 1418}}</string>
|
||||
<string key="NSMaxSize">{10000000000000, 10000000000000}</string>
|
||||
<bool key="NSWindowIsRestorable">YES</bool>
|
||||
</object>
|
||||
|
@ -1810,7 +1810,7 @@
|
|||
<string key="NSFrame">{{363, 259}, {55, 17}}</string>
|
||||
<reference key="NSSuperview" ref="159788047"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="578064957"/>
|
||||
<reference key="NSNextKeyView" ref="466216419"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="517021610">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
|
@ -1959,20 +1959,20 @@
|
|||
<int key="NSPeriodicInterval">25</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSButton" id="578064957">
|
||||
<object class="NSButton" id="466216419">
|
||||
<reference key="NSNextResponder" ref="159788047"/>
|
||||
<int key="NSvFlags">264</int>
|
||||
<string key="NSFrame">{{91, 235}, {367, 18}}</string>
|
||||
<reference key="NSSuperview" ref="159788047"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="348593333"/>
|
||||
<reference key="NSNextKeyView" ref="1040184697"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSButtonCell" key="NSCell" id="956662739">
|
||||
<object class="NSButtonCell" key="NSCell" id="140497183">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags2">0</int>
|
||||
<string key="NSContents">Remove from the transfer list when seeding completes</string>
|
||||
<reference key="NSSupport" ref="86725571"/>
|
||||
<reference key="NSControlView" ref="578064957"/>
|
||||
<reference key="NSControlView" ref="466216419"/>
|
||||
<int key="NSButtonFlags">1211912703</int>
|
||||
<int key="NSButtonFlags2">2</int>
|
||||
<reference key="NSNormalImage" ref="1001726176"/>
|
||||
|
@ -1983,7 +1983,7 @@
|
|||
<int key="NSPeriodicInterval">25</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSTextField" id="348593333">
|
||||
<object class="NSTextField" id="1040184697">
|
||||
<reference key="NSNextResponder" ref="159788047"/>
|
||||
<int key="NSvFlags">264</int>
|
||||
<string key="NSFrame">{{109, 217}, {180, 14}}</string>
|
||||
|
@ -1991,12 +1991,12 @@
|
|||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="977701368"/>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="276023020">
|
||||
<object class="NSTextFieldCell" key="NSCell" id="1020816654">
|
||||
<int key="NSCellFlags">67239424</int>
|
||||
<int key="NSCellFlags2">272760832</int>
|
||||
<string key="NSContents">Applies to newly added transfers</string>
|
||||
<reference key="NSSupport" ref="26"/>
|
||||
<reference key="NSControlView" ref="348593333"/>
|
||||
<reference key="NSControlView" ref="1040184697"/>
|
||||
<reference key="NSBackgroundColor" ref="977951849"/>
|
||||
<reference key="NSTextColor" ref="540507142"/>
|
||||
</object>
|
||||
|
@ -5455,7 +5455,7 @@ AAABAAAAAQ</bytes>
|
|||
<object class="IBActionConnection" key="connection">
|
||||
<string key="label">setLPD:</string>
|
||||
<reference key="source" ref="511492310"/>
|
||||
<reference key="destination" ref="578064957"/>
|
||||
<reference key="destination" ref="466216419"/>
|
||||
</object>
|
||||
<int key="connectionID">2120</int>
|
||||
</object>
|
||||
|
@ -7674,10 +7674,10 @@ AAABAAAAAQ</bytes>
|
|||
<object class="IBConnectionRecord">
|
||||
<object class="IBBindingConnection" key="connection">
|
||||
<string key="label">value: values.RemoveWhenFinishSeeding</string>
|
||||
<reference key="source" ref="578064957"/>
|
||||
<reference key="source" ref="466216419"/>
|
||||
<reference key="destination" ref="356871564"/>
|
||||
<object class="NSNibBindingConnector" key="connector">
|
||||
<reference key="NSSource" ref="578064957"/>
|
||||
<reference key="NSSource" ref="466216419"/>
|
||||
<reference key="NSDestination" ref="356871564"/>
|
||||
<string key="NSLabel">value: values.RemoveWhenFinishSeeding</string>
|
||||
<string key="NSBinding">value</string>
|
||||
|
@ -8003,8 +8003,8 @@ AAABAAAAAQ</bytes>
|
|||
<reference ref="338014056"/>
|
||||
<reference ref="658629919"/>
|
||||
<reference ref="58756917"/>
|
||||
<reference ref="578064957"/>
|
||||
<reference ref="348593333"/>
|
||||
<reference ref="466216419"/>
|
||||
<reference ref="1040184697"/>
|
||||
</array>
|
||||
<reference key="parent" ref="298493360"/>
|
||||
</object>
|
||||
|
@ -10315,29 +10315,29 @@ AAABAAAAAQ</bytes>
|
|||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">2118</int>
|
||||
<reference key="object" ref="578064957"/>
|
||||
<reference key="object" ref="466216419"/>
|
||||
<array class="NSMutableArray" key="children">
|
||||
<reference ref="956662739"/>
|
||||
<reference ref="140497183"/>
|
||||
</array>
|
||||
<reference key="parent" ref="159788047"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">2119</int>
|
||||
<reference key="object" ref="956662739"/>
|
||||
<reference key="parent" ref="578064957"/>
|
||||
<reference key="object" ref="140497183"/>
|
||||
<reference key="parent" ref="466216419"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">2122</int>
|
||||
<reference key="object" ref="348593333"/>
|
||||
<reference key="object" ref="1040184697"/>
|
||||
<array class="NSMutableArray" key="children">
|
||||
<reference ref="276023020"/>
|
||||
<reference ref="1020816654"/>
|
||||
</array>
|
||||
<reference key="parent" ref="159788047"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">2123</int>
|
||||
<reference key="object" ref="276023020"/>
|
||||
<reference key="parent" ref="348593333"/>
|
||||
<reference key="object" ref="1020816654"/>
|
||||
<reference key="parent" ref="1040184697"/>
|
||||
</object>
|
||||
</array>
|
||||
</object>
|
||||
|
|
Loading…
Reference in a new issue