summaryrefslogtreecommitdiffstats
path: root/torrentdisplay.h
Commit message (Collapse)AuthorAgeFilesLines
* Make it compile with qt6Arno2022-04-161-1/+1
| | | | | | | *BIG FAT WARNING* Took me a while to figure it out, but the database connection only works with MINGW64 instead of MINGW32! With the latter loading the SQL Plugin fails! That said, off to brighter shores :)
* Fix clang warnings for torrent*Arno2018-12-091-1/+1
|
* Added copyToClipboard where applicableArno2016-08-281-0/+7
|
* Present torrent files as a treeArno2016-08-201-1/+6
| | | | | | | | | | | | A torrent info dictionary has two modes: single and multi files. When in multi-mode, the name-entry is the directory containing the files. Represent it as a tree. During testing I discovered a fatal bug in the torrent parser: If we encounter an invalid string, we have to move mPos forward, else we will loop indefinitely until we're OOM. I also added some icons for folders, files and trackers.
* Added torrent supportArno2016-08-191-0/+27
The BEncode parser is loosely based on this: https://github.com/jif/Bencode/blob/master/bencode.cpp Not perfect, but enough to display all the essential data in the shiny new TorrentDisplay dialog.