aboutsummaryrefslogtreecommitdiff
path: root/connectiondata.cpp
diff options
context:
space:
mode:
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;