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:
parent
2fd69a21b0
commit
0bf76723f1
@ -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…
Reference in New Issue
Block a user