Luís Pereira
2114817890
Use qEnvironmentVariableIsEmpty
...
Instead of qgetenv("QT_AUTO_SCREEN_SCALE_FACTOR").isEmpty().
It's faster (don't allocate memory) and don't throw exceptions.
7 years ago
vit9696
dac2ab5409
Fix compilation with Qt 5.11 on macOS
7 years ago
Thomas Piccirello
69af205094
Use .each(). Refactor conditionals.
7 years ago
Thomas Piccirello
8a2e3f5d93
Add option to show/hide webui status bar
7 years ago
Thomas Piccirello
3f79726ab9
Make download + upload windows resizable
7 years ago
Thomas Piccirello
d1c4b1599a
WebUI Save user's resized window sizes
7 years ago
Vladimir Golovnev (Glassez)
a0842a1e68
Don't convert POST parameter names to lower-case
7 years ago
Vladimir Golovnev (Glassez)
29042e4841
Fix wrong WebAPI param name
7 years ago
Thomas Piccirello
0d55599e02
Add "Use proxy only for torrents" option to webui
7 years ago
Luís Pereira
ea1b0b26b1
Don't implicitly cast iterator to const_iterator
...
It prevents detachments:
To illustrate:
QMap<QString, QString> map;
/* code compiles and works fine but find() returns the non-const
QMap::iterator that detaches!
*/
QMap<QString, QString>::const_iterator it = map.find("girish");
but also some subtle bugs:
QHash<int, int> wrong;
if (wrong.find(1) == wrong.cend()) {
qDebug() << "Not found";
} else {
/* find() detached the container before cend() was called, so it
prints "Found"
*/
qDebug() << "Found";
}
QHash<int, int> right;
if (right.constFind(1) == right.cend()) {
qDebug() << "Not found"; // This is correct now !
} else {
qDebug() << "Found";
}
Enforced by QT_STRICT_ITERATORS definition.
7 years ago
Vladimir Golovnev (Glassez)
176b2eb18b
Disable Auto TMM when RSS rule has save path
...
Closes #8411 .
7 years ago
Luís Pereira
44e4b5d238
Don't use qDeleteAll() on temporaries
...
qDeleteAll() is being used on an unnecessary temporary container created
by QHash::values().
Using qDeleteAll(mycontainer) instead.
7 years ago
sledgehammer999
c59d2575c8
Sync translations from Transifex and run lupdate.
7 years ago
thalieht
f50b4724a6
Expose the libtorrent fields for "dont_count_slow_torrents" to GUI:
...
inactive_down_rate
inactive_up_rate
auto_manage_startup
7 years ago
Stephen Dawkins
48cbccff1e
Made smart episode filter regular expression configurable
7 years ago
Chocobo1
e31ec20ec4
Clarify some terms in stats dialog
...
Reorder list
7 years ago
Chocobo1
b9ec216aa5
Redefine CacheStatus.readRatio field.
...
Now it is defined as:
CacheStatus.readRatio = (blocks read from cache) / (blocks read from disk + blocks read from cache)
The 2 variables in denominator are counted separately and the formula before this change doesn't really make sense
Add percentage sign to "Read cache hits" stats
Also remove redundant header include
7 years ago
FranciscoPombal
2ac3004762
Fixed typo in function name isSplashScreenDisabled()
7 years ago
Chocobo1
543cbc6d1c
Add "Coalesce reads & writes" checkbox in advanced options
...
The setting is defaulted to ON for Windows. Closes #8295 .
7 years ago
Vladimir Golovnev (Glassez)
27d8dbf13b
Redesign Web API
...
Normalize Web API method names.
Allow to use alternative Web UI.
Switch Web API version to standard form (i.e. "2.0").
Improve Web UI translation code.
Retranslate changed files.
Add Web API for RSS subsystem.
7 years ago
Stephen Dawkins
2845a791d0
Initial implementation of Smart Filter feature
7 years ago
sledgehammer999
024df8c53f
Set default file log size to 65 KiB and delete backup logs older than 1 month.
7 years ago
Luís Pereira
5154d431f6
Don't set application name twice
...
It's an artifact introduced by commit b3c73b7868
.
7 years ago
Vladimir Golovnev (Glassez)
0fc1ad664f
Implement Qt wrapper for std::runtime_error
7 years ago
Vladimir Golovnev (Glassez)
bb683bd393
Switch built-in Web UI html to HTML5
7 years ago
Vladimir Golovnev (Glassez)
69df8174b9
Allow to load TorrentInfo from data buffer
7 years ago
Tom Piccirello
ebea0d91af
Remove default case, fix #8302
7 years ago
Vladimir Golovnev (Glassez)
1c18edac76
Remove legacy and corrupted RSS settings
7 years ago
Thomas Piccirello
65e0aa6b82
Add default case
7 years ago
sledgehammer999
53cc8e1115
Revert "Remove examples from gpl.html. Closes #7749."
...
The GPL folks are a bit overzealous. See https://www.gnu.org/licenses/gpl-faq.html#GPLOmitPreamble
This reverts commit 5cf4f00824e142c8c984099bdf802e6a4b17808b.
7 years ago
sledgehammer999
72b8ec8f3b
Sync translations from Transifex and run lupdate.
7 years ago
Thomas Piccirello
6d0cceca83
Use switch statement
7 years ago
Thomas Piccirello
8e9b928b61
Match webui statuses to gui, closes #7516
7 years ago
Tom Piccirello
e6a1b72354
Only add search separators as needed
7 years ago
Chocobo1
5c50dba9e1
Torrent creator: raise maximum piece size to 32 MiB
7 years ago
Chocobo1
fb698896c9
Fix translation context.
...
Partially addresses #8220 .
Also sort include headers
7 years ago
sledgehammer999
95c32221a2
Update copyright year.
7 years ago
Thomas Piccirello
9b919b6c34
Add missing units
7 years ago
Thomas Piccirello
49d3b7bf30
Right-align stat values
7 years ago
Chocobo1
1d778676cd
Fix translation context. Closes #8211 .
7 years ago
Jesse Bryan
e887b3106f
transferlist: added a force reannounce option. closes #6448 .
7 years ago
sledgehammer999
13f69a2245
Fix constant status of '[F] Downloading'. Closes #7628 .
7 years ago
Chocobo1
ec337a8a84
Sort filename lists in .pri files
7 years ago
Vladimir Golovnev (Glassez)
22bdf98617
Don't process new/updated RSS rules when disabled
7 years ago
Thomas Piccirello
ddd6c82dd7
Use https for www.qbittorrent.org
7 years ago
Chocobo1
c2c0dd2717
Fix column size too narrow on resize
...
Instead of giving a value, just resize to the content size
7 years ago
Chocobo1
27cf98a962
Resize dialog size on high DPI monitors
7 years ago
Chocobo1
aaaa67050c
Fix gui issues on high DPI monitor
...
Fix LineEdit widget size issues
Up-scale the icons on statusbar
Up-scale the icons in options dialog. Closes #7729 .
Fix small icons in cookie manager
Fix progress bar height
Fix small icons in confirm delete dialog
Fix small icons in options dialog
Fix small images in about dialog
7 years ago
Chocobo1
52ae118e3c
Tweak spacing
7 years ago
Chocobo1
cb929f7e59
Cleanup
...
Use Qt5 connect syntax
Reorder include headers
7 years ago