aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-12-13 10:17:02 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-12-13 10:17:02 +0900
commitcb5f0f61e74cdc4ee64530cd73af0d080538bc1e (patch)
treececccb26e912bf7f99a954d609830e51b31e5af8
parent07c9eacc0d0009040e359fd822674a48ef8edeac (diff)
downloadlibquotient-cb5f0f61e74cdc4ee64530cd73af0d080538bc1e.tar.gz
libquotient-cb5f0f61e74cdc4ee64530cd73af0d080538bc1e.zip
Connection: initialize lazyLoading member variable
-rw-r--r--lib/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index 76e61ed1..a16bc753 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -94,7 +94,7 @@ class Connection::Private
bool cacheState = true;
bool cacheToBinary = SettingsGroup("libqmatrixclient")
.value("cache_type").toString() != "json";
- bool lazyLoading;
+ bool lazyLoading = false;
void connectWithToken(const QString& user, const QString& accessToken,
const QString& deviceId);