Commit 156eaa59 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Remove the now invalid Selected state from Connection

parent 384d6f1c
...@@ -373,8 +373,6 @@ std::unique_ptr<Handler> Connection::findHandlerForCommand(Protocol::Command::Ty ...@@ -373,8 +373,6 @@ std::unique_ptr<Handler> Connection::findHandlerForCommand(Protocol::Command::Ty
case Authenticated: case Authenticated:
handler = Handler::findHandlerForCommandAuthenticated(command, m_akonadi); handler = Handler::findHandlerForCommandAuthenticated(command, m_akonadi);
break; break;
case Selected:
break;
case LoggingOut: case LoggingOut:
break; break;
} }
...@@ -399,8 +397,6 @@ void Connection::setState(ConnectionState state) ...@@ -399,8 +397,6 @@ void Connection::setState(ConnectionState state)
break; break;
case Authenticated: case Authenticated:
break; break;
case Selected:
break;
case LoggingOut: case LoggingOut:
m_socket->disconnectFromServer(); m_socket->disconnectFromServer();
break; break;
......
...@@ -30,7 +30,6 @@ namespace Server ...@@ -30,7 +30,6 @@ namespace Server
enum ConnectionState { enum ConnectionState {
NonAuthenticated, ///< Not yet authenticated NonAuthenticated, ///< Not yet authenticated
Authenticated, ///< The client is authenticated Authenticated, ///< The client is authenticated
Selected,
LoggingOut LoggingOut
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment