diff options
author | KitsuneRal <KitsuneRal@users.noreply.github.com> | 2016-04-08 09:53:47 +0900 |
---|---|---|
committer | KitsuneRal <KitsuneRal@users.noreply.github.com> | 2016-04-08 09:53:47 +0900 |
commit | 123f528d5bb7ce72da34c703232f2aa0e556244f (patch) | |
tree | c6dfcb3bedb76ebcb215fa071c9e566518b842a0 /connection.cpp | |
parent | dcc7ce47b6756548402956dc75e9a14a5d5ad759 (diff) | |
parent | 7bf926aeb3502712aa04b915e7b404b411b51599 (diff) | |
download | libquotient-123f528d5bb7ce72da34c703232f2aa0e556244f.tar.gz libquotient-123f528d5bb7ce72da34c703232f2aa0e556244f.zip |
Merge pull request #1 from davidar/master
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; |