Change order of download/uploads in TransferView ?

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Locked
Guitarm
Forum Moderator
Posts: 385
Joined: 2004-01-18 15:38

Change order of download/uploads in TransferView ?

Post by Guitarm » 2004-03-17 10:58

Ok, I know this has been discussed before and there were some complaints about the sort order. But I just wanted to know If somebody nice could point out where (in the code) I could change the sort order of downloads/uploads in the transfer window. Maybe, also with a code example if I wanted to have the active downloads first (then passive/waiting) and the uploads in the same manner after that.

Naga
Posts: 45
Joined: 2003-12-02 11:24
Location: Sweden

Post by Naga » 2004-03-17 11:13

windows\TransferView.h maybe?

Code: Select all

static int compareItems(ItemInfo* a, ItemInfo* b, int col) {
...
Thanks to all open source programmers!
They enable the rest of us to learn a lot!

Guitarm
Forum Moderator
Posts: 385
Joined: 2004-01-18 15:38

Post by Guitarm » 2004-03-17 14:09

Of course :) , thanks!

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-03-18 20:29

Naga wrote:Thanks to all open source programmers!
They enable the rest of us to learn alot!


I think you have alittle mistake in your sig. ;)

Locked