chore: remove unused NetworkProtocol methods for intConversion
This commit is contained in:
parent
77a97f815a
commit
306259eb5b
1 changed files with 0 additions and 10 deletions
|
|
@ -19,16 +19,6 @@ enum class NetworkProtocol
|
|||
};
|
||||
Q_DECLARE_METATYPE(NetworkProtocol);
|
||||
|
||||
static int networkProtocolToInt(const NetworkProtocol proto)
|
||||
{
|
||||
return static_cast<int>(proto);
|
||||
}
|
||||
|
||||
static NetworkProtocol networkProtocolFromInt(const int value)
|
||||
{
|
||||
return static_cast<NetworkProtocol>(value);
|
||||
}
|
||||
|
||||
static QString networkProtocolToOption(const NetworkProtocol proto)
|
||||
{
|
||||
switch (proto) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue