mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 00:06:16 -07:00
Move enums into anonymous namespace
This commit is contained in:
parent
2fd69a21b0
commit
0bf76723f1
1 changed files with 71 additions and 70 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue