Qml Containers Page refact

This commit is contained in:
pokamest 2021-09-16 19:49:50 +03:00
parent 0faf6c8599
commit a390f2e988
22 changed files with 191 additions and 197 deletions

View file

@ -1,9 +1,9 @@
#include "protocols_defs.h"
QDebug operator<<(QDebug debug, const amnezia::Protocol &p)
QDebug operator<<(QDebug debug, const amnezia::ProtocolEnumNS::Protocol &p)
{
QDebugStateSaver saver(debug);
debug.nospace() << protoToString(p);
debug.nospace() << amnezia::protoToString(p);
return debug;
}
@ -53,7 +53,7 @@ QMap<amnezia::Protocol, QString> amnezia::protocolDescriptions()
return {};
}
bool amnezia::isProtocolVpnType(Protocol p)
bool amnezia::isProtocolVpnType(ProtocolEnumNS::Protocol p)
{
switch (p) {
case Protocol::Any : return false;