Chocobo1
27a07e20f5
Split code to smaller functions
2 years ago
Chocobo1
243d130667
Clean up code
2 years ago
Chocobo1
e33f73d08e
Avoid performance impact over network or removable drives
2 years ago
Chocobo1
a9906e5d2a
Fix validation text doesn't update on mouse click selection
2 years ago
Chocobo1
6ab35512da
Fix browse icon cannot be selected/focused via keyboard
2 years ago
Chocobo1
cfcbe3d6e1
Use less intimidating icon for intermediate state
2 years ago
Chocobo1
39c0c1a088
Simplify operations
2 years ago
Chocobo1
f7ae010274
Rename interface
2 years ago
Chocobo1
4fd5037c10
Avoid redundant operation
...
The default is the same as the one specified here.
2 years ago
Chocobo1
3fe09aa673
Fix path validator
...
And revise tooltip message.
Closes #11152 .
2 years ago
Chocobo1
3a6858a277
Adjust height to hide scrollbar by default
2 years ago
Chocobo1
c287c7bb01
Revise action capitalization
2 years ago
Chocobo1
99061d92c1
Fix "Add torrent dialog" spill-over on smaller screens
...
Done by adding an QScrollArea to the layout.
Closes #17387 .
2 years ago
Vladimir Golovnev
5b269a782a
Prevent tray menu from being accessed after destruction
...
PR #17400 .
2 years ago
Chocobo1
275387a972
Don't show validation result dialog on every key input
...
Instead of showing dialog, now it relies on icon to show the validation
result.
PR #17391 .
2 years ago
Chocobo1
e68e3b516e
Improve performance of "filesystem line edit" widgets
...
Also prevent unnecessary querying on the filesystem by omitting
calling setRootPath().
2 years ago
summer
3f7376f26b
Add transfer list refresh interval settings to WebUI
...
Specially useful for qbt-nox users
PR #16713 .
Co-authored-by: An0n <79678786+an0n666@users.noreply.github.com>
2 years ago
summer
5b730ffb72
Split the OS cache settings into Disk IO read/write modes
...
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
2 years ago
Chocobo1
03da68b1cf
Add support for unit testing
...
* Downgraded macOS CI to Qt 6.2.0 due to a bug in Qt Test module
* Revised cmake build scripts
* For now, only building via cmake is supported
PR #17338 .
2 years ago
Vladimir Golovnev
890630944d
Extract desktop integration stuff into separate class
...
PR #17313 .
3 years ago
Chocobo1
8d73ab65b2
Don't needlessly hide Options dialog
...
The dialog should only close after all operations are done, not before.
3 years ago
Chocobo1
e54124fdb8
Add tooltip message when system tray icon isn't available
...
Also don't hide the sub-options as they are already in disabled state.
3 years ago
Chocobo1
e4fafb911a
Revise behavior of initializing checkboxes
...
The checkboxes initial value should not depend on parent state and
should be restored anyway.
3 years ago
Chocobo1
dba711d099
Use helper function for logging messages
3 years ago
luzpaz
8736c9ec4c
Fix various typos
...
Found via `codespell -q 3 -S *.ts,*.desktop,./src/base/3rdparty,./dist/windows/installer-translations -L ba,doas,ist,ro,ths`
PR #17317 .
3 years ago
Nowshed H. Imran
92afbd45e8
Remove option of using icons from system theme
...
PR #17292 .
Closes #17150 .
3 years ago
Chocobo1
fa26333a5b
Move "memory priority" settings to Application class
3 years ago
Vladimir Golovnev
be7cfb78de
Restore BitTorrent session asynchronously
...
Reduce the total startup time of the application and maintain sufficient responsiveness of the UI during startup due to the following:
1. Load resume data from disk asynchronously in separate thread;
2. Split handling of loaded resume data in chunks;
3. Reduce the number of emitting signals.
PR #16840 .
3 years ago
Nick Korotysh
a93cd20e4d
Open destination folders on macOS in separate thread
...
In some unknown way, the one line in Objective-C affects Qt's main
loop causing the crash in QApplication::exec() on processing next
event after that call.
Even crash doesn't happen exactly after this call, it will happen
on application exit. Call stack and disassembly are the same in
all cases.
But running that code in another thread solves the issue.
3 years ago
Nick Korotysh
53ea1843ab
Pass Torrent::contentPath() to MacUtils::openFiles()
...
it already provides absolute path, no additional manipulations
are required.
3 years ago
Vladimir Golovnev
ac8a6887b6
Improve D-Bus notifications handling
...
Make notifications clickable on Linux by assigning "default" action.
Don't react to unrelated notifications clicked by keeping track of qBittorrent notifications IDs and filter out unrelated ones.
Make D-Bus Notifications interface proxy class to be maintained manually and fix coding style in it.
Closes #9084 .
PR #17282 .
3 years ago
summer
cc0a0b56ed
Make working set limit available only on libtorrent 2.0.x builds
...
You can already control the cache size in libtorrent 1.2.x so it doesn't make sense to implement this limit for all use cases. Also there are some downsides to using working set size to limit memory usage such as unresponsive GUI when limit gets hit.
PR #17275 .
3 years ago
Chocobo1
aadf961184
Fix filename not populated correctly
...
Fix up dd1bd8ad10
.
Related #17279 .
3 years ago
Vladimir Golovnev
f8a304abdc
Implement base classes for application components
...
PR #17219 .
3 years ago
Chocobo1
02d906d3ae
Initialize pointer to a default value
3 years ago
Chocobo1
6de72ecc77
Make use of chrono literals from std library
3 years ago
Chocobo1
2a5dbe840c
Clean up coding style
3 years ago
Chocobo1
af78344e5d
Use coarse timestamp format
...
Since format in milliseconds doesn't add additional value and is
slower than just seconds.
3 years ago
Prince Gupta
d5e6d161f2
Cache last traverse result while parsing file tree
...
PR #16376 .
3 years ago
thalieht
d1515456bc
Add checkbox for "Excluded file names"
...
PR #17206 .
3 years ago
mxtsdev
5e6174c087
Add file name filter/blacklist
...
Blacklist filtered file names from being downloaded from torrent(s).
Files matching any of the filters in this list will have their priority automatically set to "Do not download".
See Options > Downloads >Do not download.
Closes #3369 .
PR #17106 .
3 years ago
Nowshed H. Imran
199d770e15
Implement new icon/color theme
...
Co-authored-by: xavier2k6 <42386382+xavier2k6@users.noreply.github.com>
3 years ago
Chocobo1
9cb686a6b7
Fix wrong file names displayed in tooltip
...
Also rename variable.
Closes #17179 .
3 years ago
Chocobo1
eddeda7bab
Remove usage of QTextStream
...
Other classes already provide rich methods so avoid another
layer of QTextStream which slow things down (slightly).
PR #17180 .
3 years ago
thalieht
2f9c5cdb22
Add "Filter files" field in new torrent dialog
...
PR #16344 .
3 years ago
Chocobo1
fcf50820e8
Don't resize dialog with invalid sizes
...
This fixes wrong dialog sizes on first startup.
3 years ago
Chocobo1
3fd0241abb
Set dialog properties at the caller site
...
Redundant `setModal(true)` are removed since the dialog is already opened via `open()`.
3 years ago
Kacper Michajłow
5173a56ebd
Fix DHT/PeX/LSD status when it is globally disabled
...
Global status takes precedence over specific torrent private status.
PR #17126 .
3 years ago
Chocobo1
73faf67084
Clean up usage of `static` keyword
...
They are either misused or redundant, so remove it.
3 years ago
Chocobo1
c2c17fd053
Revise icon cache look up
...
Find in `m_iconCache` first because it is cheaper than calling
`QIcon::fromTheme()`.
3 years ago