1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Move enums into anonymous namespace

This commit is contained in:
Chocobo1 2020-09-09 16:22:33 +08:00
parent 2fd69a21b0
commit 0bf76723f1
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -49,16 +49,16 @@ namespace
{ {
return QStringLiteral("<a href=\"%1\">%2</a>").arg(url, linkLabel); return QStringLiteral("<a href=\"%1\">%2</a>").arg(url, linkLabel);
} }
}
enum AdvSettingsCols enum AdvSettingsCols
{ {
PROPERTY, PROPERTY,
VALUE, VALUE,
COL_COUNT COL_COUNT
}; };
enum AdvSettingsRows
{ enum AdvSettingsRows
{
// qBittorrent section // qBittorrent section
QBITTORRENT_HEADER, QBITTORRENT_HEADER,
#if defined(Q_OS_WIN) #if defined(Q_OS_WIN)
@ -134,7 +134,8 @@ enum AdvSettingsRows
PEER_TURNOVER_INTERVAL, PEER_TURNOVER_INTERVAL,
ROW_COUNT ROW_COUNT
}; };
}
AdvancedSettings::AdvancedSettings(QWidget *parent) AdvancedSettings::AdvancedSettings(QWidget *parent)
: QTableWidget(parent) : QTableWidget(parent)