X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fcoreconnection.h;h=11c8d500afde784b9e40f753436b829ca4cd2b4e;hp=a1d6cda05fc9749eca92a33ebf604c8dd3798fb2;hb=4ae8f86c1ce452582d6fe576956c7c1bc1460adf;hpb=635c26ca94d131d14af7d3948b0b22db3b84ddb6 diff --git a/src/client/coreconnection.h b/src/client/coreconnection.h index a1d6cda0..11c8d500 100644 --- a/src/client/coreconnection.h +++ b/src/client/coreconnection.h @@ -71,6 +71,9 @@ public: inline int progressValue() const; inline QString progressText() const; + //! Check if we consider the last connect as reconnect + inline bool wasReconnect() const { return _wasReconnect; } + #ifdef HAVE_SSL inline const QSslSocket *sslSocket() const; #endif @@ -182,6 +185,8 @@ private: QString _progressText; QString _coreInfoString(const QVariantMap &); + bool _wasReconnect; + bool _requestedDisconnect; inline CoreAccountModel *accountModel() const;