From 4d97fe69014df8501c43e7f686fb25f311ed1c7a Mon Sep 17 00:00:00 2001 From: Black Hat Date: Sun, 19 Aug 2018 20:45:40 +0800 Subject: [PATCH] Enable lazy loading by default. Also fixes undefined error when not logged in. --- asset/img/icon.icns | Bin 0 -> 43893 bytes asset/img/icon.ico | Bin 0 -> 67646 bytes matrique.pro | 28 ++++++++++++++++++---------- qml/Room.qml | 4 +--- qml/form/RoomListForm.qml | 2 -- qml/form/SettingGeneralForm.qml | 1 + qml/main.qml | 2 +- res.qrc | 2 ++ src/roomlistmodel.cpp | 4 +--- 9 files changed, 24 insertions(+), 19 deletions(-) create mode 100644 asset/img/icon.icns create mode 100644 asset/img/icon.ico diff --git a/asset/img/icon.icns b/asset/img/icon.icns new file mode 100644 index 0000000000000000000000000000000000000000..2a1597de2341d140ee303586efbecd00363f5ce1 GIT binary patch literal 43893 zcmc&-2Vhji)}Fg9y^um00YX9meTrDH0!o+m0|HWoKoXMN^tyL9A)DQF(i_R9Py#Dm z1Q8p84JjfZAW}sU0TGodCE@U_oVWoOuu@stQ@TzqK&vMaa4%Hb_sf3I!bXnk%|KiwrVF|>>f+3aZQ4a1Np0@Ki zVrL;%5j(MjVca}joTauFQX2rI5Ob!JvmL%MOgfQS+n7s5B1s03%5XtqnMouPOUcXW zoq0ZrC$IYj2Kv2D@R2_rHf4B7yj;a4$A=7`5_TdiXmX4~!O7*ELK!nTIBep`7^OTu zj^pAI5|l9`C*EWg2}!3`#6|Dk&Lt?>zsJTY;#HS^$jP{}w@SsukMWap3CV|!t=x8E zNBN@ogt>v7GJNq*Cl4Jv@xxcUb|?7=LZFc1q>Q_e0FG1 z#Ief2d0&0N28Yc)J~SvaDCYO?l9iWtB8*!!Ea7y!`>=A z`NOw|e>nK*7hgt9ogOwjZ|9-qmp}bzcgF5d<+G;-lx&Uquyp5Q-I#YaZH`s?4GZ|< z!!^;l#rf&$-;Ym>8F_N{d^RkE&C1V6<&+757e@{X3=L*O*p##dN_ptuQAUGVMPfqe z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?ww0eo4&F>doiLl-87kx>9-S3wiNs!&|mmEo8IDe6U{3?a>uk^n@BU1l3|NGNQ z>-P^XNW(0H7#`yP;0e7)}hEsFiV08Ot7&qml/component/EmojiPicker.qml qml/component/EmojiButton.qml qml/component/AutoImage.qml + asset/img/icon.ico + asset/img/icon.icns diff --git a/src/roomlistmodel.cpp b/src/roomlistmodel.cpp index 621689e..d43c7f9 100644 --- a/src/roomlistmodel.cpp +++ b/src/roomlistmodel.cpp @@ -14,9 +14,7 @@ RoomListModel::RoomListModel(QObject* parent) : QAbstractListModel(parent) {} RoomListModel::~RoomListModel() {} void RoomListModel::setConnection(Connection* connection) { - Q_ASSERT(connection); - - if (connection == m_connection) return; + if (!connection && connection == m_connection) return; using QMatrixClient::Room; m_connection = connection;