chore: remove unused NetworkProtocol methods for intConversion

This commit is contained in:
sithlord48 2026-03-03 22:18:06 -05:00 committed by Chris Rizzitello
parent 77a97f815a
commit 306259eb5b

View file

@ -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) {