aboutsummaryrefslogtreecommitdiff
path: root/connection.cpp
diff options
context:
space:
mode:
authorKitsuneRal <KitsuneRal@users.noreply.github.com>2016-04-08 09:53:47 +0900
committerKitsuneRal <KitsuneRal@users.noreply.github.com>2016-04-08 09:53:47 +0900
commit123f528d5bb7ce72da34c703232f2aa0e556244f (patch)
treec6dfcb3bedb76ebcb215fa071c9e566518b842a0 /connection.cpp
parentdcc7ce47b6756548402956dc75e9a14a5d5ad759 (diff)
parent7bf926aeb3502712aa04b915e7b404b411b51599 (diff)
downloadlibquotient-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.cpp5
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;