Chocobo1 051d7137ea Use proper macro for unreachable switch cases
Those are the `default` cases which are not expected to hit (nor reachable) normally.

When the code is compiled with release mode and it reaches `Q_UNREACHABLE()`, it becomes
undefined behavior. So it rely on the developers to catch the errors in debug mode.
The upside of this is that the `switch` statement will be more optimized than not using it.
This also means the statements after `Q_UNREACHABLE()` isn't important. It allow anything to
preserve the intention of the code.

This macro is preferred over C++23 `std::unreachable` because it will automatically insert a
`Q_ASSERT(false)` with it.

PR #21752.
2024-11-05 11:55:55 +08:00
2024-10-06 15:43:43 +08:00
2024-10-06 16:41:38 +08:00
2024-09-30 18:20:58 +08:00
2023-10-20 09:04:56 +03:00
2016-12-27 16:56:35 +02:00
2023-10-09 10:21:29 +03:00
2023-04-23 15:09:58 +08:00
2024-11-02 22:03:38 +02:00
2018-09-30 15:46:33 +07:00

qBittorrent - A BitTorrent client in Qt

GitHub Actions CI Status Coverity Status


Description:

qBittorrent is a bittorrent client programmed in C++ / Qt that uses libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.

It aims to be a good alternative to all other bittorrent clients out there. qBittorrent is fast, stable and provides unicode support as well as many features.

The free IP to Country Lite database by DB-IP is used for resolving the countries of peers. The database is licensed under the Creative Commons Attribution 4.0 International License.

Installation:

Refer to the INSTALL file.

Public key:

Starting from v3.3.4 all source tarballs and binaries are signed.
The key currently used is 4096R/5B7CC9A2 with fingerprint D8F3DA77AAC6741053599C136E4A2D025B7CC9A2.
You can also download it from here.
PREVIOUSLY the following key was used to sign the v3.3.4 source tarballs and v3.3.4 Windows installer only: 4096R/520EC6F6 with fingerprint F4A5FD201B117B1C2AB590E2A1ACCAE4520EC6F6.

Misc:

For more information please visit: https://www.qbittorrent.org

or our wiki here: https://wiki.qbittorrent.org

Use the forum for troubleshooting before reporting bugs: https://forum.qbittorrent.org

Please report any bug (or feature request) to: https://bugs.qbittorrent.org

Official IRC channel: #qbittorrent on irc.libera.chat


sledgehammer999 <sledgehammer999@qbittorrent.org>

Languages
C++ 69.4%
JavaScript 14.2%
HTML 12.7%
Python 1.1%
CSS 0.8%
Other 1.7%