remove Q_OS_IOS on MacNE
This commit is contained in:
parent
8a713b74f2
commit
831c9a09fb
22 changed files with 75 additions and 88 deletions
|
|
@ -4,7 +4,7 @@
|
|||
#include "core/enums/apiEnums.h"
|
||||
#include "core/networkUtilities.h"
|
||||
|
||||
#ifdef Q_OS_IOS
|
||||
#if defined(Q_OS_IOS) || defined(MACOS_NE)
|
||||
#include <AmneziaVPN-Swift.h>
|
||||
#endif
|
||||
|
||||
|
|
@ -760,7 +760,7 @@ void ServersModel::removeApiConfig(const int serverIndex)
|
|||
{
|
||||
auto serverConfig = getServerConfig(serverIndex);
|
||||
|
||||
#ifdef Q_OS_IOS
|
||||
#if defined(Q_OS_IOS) || defined(MACOS_NE)
|
||||
QString vpncName = QString("%1 (%2) %3")
|
||||
.arg(serverConfig[config_key::description].toString())
|
||||
.arg(serverConfig[config_key::hostName].toString())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue