aboutsummaryrefslogtreecommitdiff
path: root/connectiondata.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2016-11-18 14:20:53 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2016-11-26 18:23:27 +0900
commit78cfe3c102b686c71a1da5cbe91a2ae42dc03825 (patch)
tree09530f95bb5f8ac6b73b5ba07a38a753f68e6184 /connectiondata.cpp
parent6776be9849bb32012dc057fe0f6738437b0cd79d (diff)
downloadlibquotient-78cfe3c102b686c71a1da5cbe91a2ae42dc03825.tar.gz
libquotient-78cfe3c102b686c71a1da5cbe91a2ae42dc03825.zip
Cleanup
Diffstat (limited to 'connectiondata.cpp')
-rw-r--r--connectiondata.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/connectiondata.cpp b/connectiondata.cpp
index 72e8f3d8..32fcf184 100644
--- a/connectiondata.cpp
+++ b/connectiondata.cpp
@@ -25,10 +25,9 @@ using namespace QMatrixClient;
class ConnectionData::Private
{
public:
- Private() {/*isConnected=false;*/}
+ Private() : nam(nullptr) { }
QUrl baseUrl;
- //bool isConnected;
QString accessToken;
QString lastEvent;
QNetworkAccessManager* nam;
@@ -47,11 +46,6 @@ ConnectionData::~ConnectionData()
delete d;
}
-// bool ConnectionData::isConnected() const
-// {
-// return d->isConnected;
-// }
-
QString ConnectionData::accessToken() const
{
return d->accessToken;