mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-24 02:00:24 +07:00
OpenVpn runtime error codes handling
This commit is contained in:
@@ -45,7 +45,7 @@ void Communicator::onLineAvailable(const QString& line)
|
||||
emit messageReceived(message);
|
||||
}
|
||||
|
||||
bool Communicator::connected() const
|
||||
bool Communicator::isConnected() const
|
||||
{
|
||||
if (!m_localClient) {
|
||||
return false;
|
||||
@@ -66,7 +66,7 @@ bool Communicator::writeData(const QString& data)
|
||||
|
||||
void Communicator::sendMessage(const Message& message)
|
||||
{
|
||||
if (!connected()) {
|
||||
if (!isConnected()) {
|
||||
return;
|
||||
}
|
||||
const QString data = message.toString();
|
||||
|
||||
Reference in New Issue
Block a user