Handle client state a bit more sanely
[quassel.git] / src / client / client.h
index a516e25..56083a9 100644 (file)
@@ -120,7 +120,6 @@ public:
   static inline CoreAccount currentCoreAccount() { return coreConnection()->currentAccount(); }
 
   static bool isConnected();
-  static bool isSynced();
   static bool internalCore();
 
   static void userInput(const BufferInfo &bufferInfo, const QString &message);
@@ -230,6 +229,8 @@ private:
   QHash<NetworkId, Network *> _networks;
   QHash<IdentityId, Identity *> _identities;
 
+  bool _connected;
+
   QString _debugLogBuffer;
   QTextStream _debugLog;