Chocobo1
ef6dfa9b54
Fix "Open containing folder" opened the wrong path for folder item
...
Previously that action is the same as "Open" action which is wrong
behavior, it should be opening the parent folder instead. The wrong
behavior is observed on nautilus 3.36.3 and nemo 4.6.5.
4 years ago
Chocobo1
eb1a3e2b29
Fix open path won't work correctly
...
Previously, if double click on the Size number in torrent content tab
the path would be an incorrect value and as such open path functionality
won't work, this commit fixes it.
4 years ago
Chocobo1
307ca61c86
Code clean up
4 years ago
jagannatharjun
6f38a86d9a
Align Properties Tabbar in center
5 years ago
Nick Korotysh
c97e4f105f
Clean up header inclusion
5 years ago
Vladimir Golovnev (Glassez)
4a2d25b03b
Clean up header inclusion
5 years ago
Vladimir Golovnev (Glassez)
1132b84548
Split TorrentHandle interface and implementation
5 years ago
Chocobo1
62b0d25140
Capture pointer by value
5 years ago
Chocobo1
48e7191ef7
Initialize boolean variables
5 years ago
Prince Gupta
6258c1e65b
Align Properties tab bar correctly on window resize
5 years ago
warren
b37795d344
Expand single-item folders in torrent content
5 years ago
Chocobo1
4a71b78e2d
Group related code together
...
And also rename local variables.
5 years ago
Chocobo1
2152a81d11
Add ability to open file via keypad Enter
...
Closes #11260 .
5 years ago
Chocobo1
f1243871b0
Remove redundant HTML escaping
...
The text widget is already set to plaintext and doing HTML escaping will
not give us more security but only makes it harder to read.
5 years ago
Chocobo1
0d5b0b9542
Replace deprecated macro
...
Q_OS_MAC is deprecated and the replacement is Q_OS_MACOS.
5 years ago
Chocobo1
e90a2c00a5
Replace QList by QVector
5 years ago
Chocobo1
7ab3479a34
Replace static_cast by qOverload
5 years ago
Chocobo1
e74b984a0a
Rely on Qt ownership to delete class members
5 years ago
Prince Gupta
8267a4fef9
Incorporate GuiIconProvider inside UIThemeManager
5 years ago
Chocobo1
cc663746eb
Forward declare some classes
5 years ago
Chocobo1
599bfc0735
Use Qt object ownership to handle QShortcut deletions
5 years ago
Chocobo1
412e326cf2
Avoid allocating a new menu/action manually
6 years ago
Chocobo1
4880dc812c
Use appropriate type
6 years ago
Chocobo1
516c968373
Support year unit in userFriendlyDuration()
6 years ago
Chocobo1
3748b995ff
Avoid creating unnecessary event loops
...
The `exec()` method will create another event loop and transfer
control over there which might introduce unexpected bugs.
6 years ago
Chocobo1
62ccfd37b2
Move renameSelectedFile(BitTorrent::TorrentHandle *)
6 years ago
thalieht
4370a7eb12
Forward declare in a few places
6 years ago
Chocobo1
e288de7ec1
Forward declare as much as possible
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
Chocobo1
adbd34c795
Move helper functions to Utils::Gui namespace
6 years ago
thalieht
d8cbc9266a
Use 'auto' to avoid duplicating the type name
6 years ago
Vladimir Golovnev (Glassez)
5a86c4ac52
Close context menu when content model is reset
...
Closes #9522 .
6 years ago
Vladimir Golovnev (Glassez)
c631dbdaa1
Improve Properties widget
...
Drop redundant dependencies.
Refresh after BitTorrent session refreshing (instead of using timer).
6 years ago
Thomas Piccirello
f27dc977e9
Replace prio namespace with FilePriority enum class
6 years ago
thalieht
6b1d26d555
Convert all foreach() to range-based for()
6 years ago
Chocobo1
d866033a8e
Fix divide-by-zero crash
...
Previously here was using a cheap method to avoid divisor becoming < 0, but from
the crash stacktrace it seems this is not enough, now the divisor is properly
clamped to have 1 as the minimum.
Also it will now display "Unknown" for invalid calculation results.
Closes #9857 .
6 years ago
dzmat
2d0f0cb372
Allow to disable speed graphs
6 years ago
thalieht
ffc2193df9
Preselect name without extension when renaming files
...
And preselect the whole string for everything else.
6 years ago
Chocobo1
56766dc08b
Avoid binding constant reference to returned object
...
In such cases, it makes no sense doing so.
6 years ago
Chocobo1
0217d5b4c0
Replace single-character string with character literal
...
Also remove unnecessary dynamic allocation.
6 years ago
thalieht
456270bbb1
Delete several unused #include
6 years ago
thalieht
eb508d67ef
Fix coding style
6 years ago
thalieht
6d4434ad66
Convert the names used in ui and c++ files from snake_case to camelCase
6 years ago
thalieht
d34ddb2e3c
Change file names and classes names to match them
7 years ago
thalieht
4022799881
Fix coding style
7 years ago
thalieht
586e1a0830
Move some connect() from propertieswidget to their corresponding widget
7 years ago
thalieht
6b4455e13d
Use qt5 connect() syntax
7 years ago
thalieht
3e4099fe5b
Replace the zeroing of pointers with nullptr
7 years ago
Chocobo1
898239a42e
Fix renaming completed files
...
Check whether the file is already downloaded before appending QB_EXT to
filename.
Closes #8039 .
7 years ago
Chocobo1
a468c84b30
Fix warnings from unused variables
7 years ago