mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
build: lint header files with clang-tidy (#7527)
* build: clang-tidy headers when building libtransmission
* chore: revert `= default` workaround
It was introduced in 6909ec0bad to fix build issues with macOS 10.14. We
no longer support that version.
* fix: clang-tidy warnings for libtransmission
* build: clang-tidy headers when building tests
* fix: clang-tidy warnings for tests
* build: clang-tidy headers when building qt
* code review: don't manually edit mime-types.h
* code review: unify variable naming for static private members
This commit is contained in:
@@ -71,21 +71,21 @@ void initUnits()
|
||||
{
|
||||
using Config = libtransmission::Values::Config;
|
||||
|
||||
Config::Speed = { Config::Base::Kilo,
|
||||
Config::speed = { Config::Base::Kilo,
|
||||
QObject::tr("B/s").toStdString(),
|
||||
QObject::tr("kB/s").toStdString(),
|
||||
QObject::tr("MB/s").toStdString(),
|
||||
QObject::tr("GB/s").toStdString(),
|
||||
QObject::tr("TB/s").toStdString() };
|
||||
|
||||
Config::Memory = { Config::Base::Kibi,
|
||||
Config::memory = { Config::Base::Kibi,
|
||||
QObject::tr("B").toStdString(),
|
||||
QObject::tr("KiB").toStdString(),
|
||||
QObject::tr("MiB").toStdString(),
|
||||
QObject::tr("GiB").toStdString(),
|
||||
QObject::tr("TiB").toStdString() };
|
||||
|
||||
Config::Storage = { Config::Base::Kilo,
|
||||
Config::storage = { Config::Base::Kilo,
|
||||
QObject::tr("B").toStdString(),
|
||||
QObject::tr("kB").toStdString(),
|
||||
QObject::tr("MB").toStdString(),
|
||||
|
||||
Reference in New Issue
Block a user