diff options
author | David A Roberts <d@vidr.cc> | 2016-04-07 19:04:41 +1000 |
---|---|---|
committer | David A Roberts <d@vidr.cc> | 2016-04-07 19:04:41 +1000 |
commit | 7bf926aeb3502712aa04b915e7b404b411b51599 (patch) | |
tree | 24524d0cebf89d17c4cef0b0a807e80976f979a3 /connection.cpp | |
parent | aeb45da77273f108102149005a93db29a2db5a16 (diff) | |
download | libquotient-7bf926aeb3502712aa04b915e7b404b411b51599.tar.gz libquotient-7bf926aeb3502712aa04b915e7b404b411b51599.zip |
Allow Connections to be used in QML.
Diffstat (limited to 'connection.cpp')
-rw-r--r-- | connection.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/connection.cpp b/connection.cpp index 01392848..5127dea8 100644 --- a/connection.cpp +++ b/connection.cpp @@ -44,6 +44,11 @@ Connection::Connection(QUrl server, QObject* parent) d->data = new ConnectionData(server); } +Connection::Connection() + : Connection(QUrl("https://matrix.org")) +{ +} + Connection::~Connection() { delete d; |