Chocobo1
a9f99aed48
Revise code
3 years ago
thalieht
acdd08e9a2
Consistently emit signal when file "ignored" state is changed
...
PR #17042 .
Closes #17037 .
3 years ago
Chocobo1
dba998fea0
Don't use hardcoded path for temp folder
3 years ago
Chocobo1
75c93d72be
Revise string literal usage
...
This commit covers src/gui folder.
PR #16757 .
3 years ago
Chocobo1
bbd936fdfa
Don't use explicit memory management
...
And avoid dangling pointers.
3 years ago
Chocobo1
802ec5a14e
Use QString literals
...
This patch covers src/gui and some leftovers from previous commit.
3 years ago
Aleksandr Cupacenko
d2aad3a3ca
Rename content tab "Size" column to "Total Size"
...
Closes #7348 .
PR #16526 .
3 years ago
Vladimir Golovnev
dd1bd8ad10
Implement class for handling filesystem paths
...
PR #15915 .
3 years ago
Prince Gupta
0cc318664d
Improve Torrent content tree structure creation
...
Use QHash to cache folder items.
PR #16183 .
3 years ago
Vladimir Golovnev (Glassez)
62b50d1475
Make TorrentInfo immutable
3 years ago
a-sum-duma
fa1d49add5
Properly check if file priority changes
...
Current item priority is compared against new checkbox state. I believe the intention was to check if the priority changes before performing further actions. This PR fixes the issue - compare priority against new value that is about to be set rather then the checkbox state.
PR #15740 .
3 years ago
Vladimir Golovnev
bc71827c01
Improve torrent content handling
...
Hide .pad files.
PR #15468 .
3 years ago
Vladimir Golovnev (Glassez)
399d3ad85a
Replace QStringRef with QStringView
3 years ago
Chocobo1
4b0a2d050a
Display tooltip for all columns in torrent content widget
...
It is primary useful for showing long file names.
3 years ago
Vladimir Golovnev (Glassez)
97c7f3bc67
Raise minimum Qt version to 5.14
4 years ago
Vladimir Golovnev (Glassez)
102cc684dd
Replace Qt Windows Extras features with native ones
4 years ago
Chocobo1
a78929dadf
Simplify progress bar painting
4 years ago
Vladimir Golovnev (Glassez)
a078633a32
Don't use deprecated features
4 years ago
jagannatharjun
36d7fce909
Correctly set items flags in TorrentContentModel
...
Only set editable flag on item's where editing is handled in the delegate
closes #13515
4 years ago
Vladimir Golovnev (Glassez)
c41df9ffbd
Improve coding style
4 years ago
jagannatharjun
fdbc3a692f
Align integer data to right in torrent content view
4 years ago
jagannatharjun
02f19bfbee
Use ProgressbarDelegate for drawing progressbar in PropListDelegate
...
Also directly provide display data from model rather then generating it in delegate
4 years ago
Vladimir Golovnev (Glassez)
6a0a78f3f7
Drop ".unwanted folder" feature
5 years ago
Chocobo1
f6eb341b32
Clean up code
5 years ago
Chocobo1
16a76eee9f
Add final specifier to GUI classes
...
Follow up d3d3f7dbb3
.
5 years ago
Chocobo1
0d5b0b9542
Replace deprecated macro
...
Q_OS_MAC is deprecated and the replacement is Q_OS_MACOS.
5 years ago
Chocobo1
7e0daf1663
Setup pixmap cache in a proper place
...
There is no need to reset the cache limit to previous value as
QPixmapCache is an application wide cache.
Also raise the cache size to 64MB.
5 years ago
Chocobo1
9c964cdd97
Fix using out-of-bounds of indexes
5 years ago
Chocobo1
b5b678c58f
Replace QString::split() by faster alternatives
5 years ago
Chocobo1
e90a2c00a5
Replace QList by QVector
5 years ago
Prince Gupta
8267a4fef9
Incorporate GuiIconProvider inside UIThemeManager
5 years ago
Vladimir Golovnev (Glassez)
8e65317d61
Rename "fromNativePath" to "toUniformPath"
...
Unlike "toNativePath" which name clearly reflects the function result
"fromNativePath" has no such clear meaning.
Since this function converts path into uniform format "toUniformPath"
is better name.
6 years ago
thalieht
9995967fbf
Remove some unused #include
6 years ago
thalieht
4370a7eb12
Forward declare in a few places
6 years ago
Chocobo1
f52dcc08eb
Use native folder icon in content tree
...
This icon is used in content tree where all icons should be OS native
and not the ones from qbt.
6 years ago
Chocobo1
375de4f8a6
Replace QMap with QHash when sensible
6 years ago
Vladimir Golovnev (Glassez)
ead078a38e
Add preliminary support of libtorrent v1.2
...
libtorrent v1.2 should be built with deprecated features enabled.
6 years ago
thalieht
8c944bd4e1
Avoid repeating the return type
6 years ago
thalieht
d8cbc9266a
Use 'auto' to avoid duplicating the type name
6 years ago
thalieht
8a3f942385
Don't use 'else' after return/break
6 years ago
Chocobo1
6d29a3af60
Make use of std algorithms
6 years ago
Thomas Piccirello
f27dc977e9
Replace prio namespace with FilePriority enum class
6 years ago
thalieht
1f36b8b89f
Combine qAsConst() with copyAsConst() to asConst()
6 years ago
thalieht
6b1d26d555
Convert all foreach() to range-based for()
6 years ago
thalieht
d668a4fe6d
Fix coding style for various things
6 years ago
thalieht
94613c2fa2
Fix some warnings
6 years ago
thalieht
eb508d67ef
Fix coding style
7 years ago
thalieht
4022799881
Fix coding style
7 years ago
Chocobo1
4751b79f42
Initialize variables properly
...
The warnings are emitted when compiling on msys2, mingw
The warning was:
gui/torrentcontentmodel.cpp:135:33: warning: missing initializer for
member '_SHFILEINFOW::iIcon' [-Wmissing-field-initializers]
..\..\qBittorrent\src\app\stacktrace_win.h:141:30: warning: missing
initializer for member '_IMAGEHLP_LINE64::Key'
[-Wmissing-field-initializers]
7 years ago
vit9696
d7fa5b6b6b
Put macOS specific functions to MacUtils namespace
7 years ago