Fix busy indicator.
This commit is contained in:
parent
8e3b7916b1
commit
fd4499fc9e
|
@ -13,6 +13,11 @@ Controller::Controller(QObject *parent) : QObject(parent) {
|
|||
&Controller::resync);
|
||||
connect(m_connection, &QMatrixClient::Connection::connected, this,
|
||||
&Controller::connectionChanged);
|
||||
|
||||
connect(m_connection, &QMatrixClient::Connection::connected,
|
||||
[=] { setBusy(true); });
|
||||
connect(m_connection, &QMatrixClient::Connection::syncDone,
|
||||
[=] { setBusy(false); });
|
||||
}
|
||||
|
||||
Controller::~Controller() { m_connection->stopSync(); }
|
||||
|
|
|
@ -91,7 +91,7 @@ Item {
|
|||
displayMarginEnd: 40
|
||||
verticalLayoutDirection: ListView.BottomToTop
|
||||
maximumFlickVelocity: 1024
|
||||
spacing: 12
|
||||
spacing: 8
|
||||
|
||||
model: MessageEventModel{
|
||||
id: messageEventModel
|
||||
|
|
Loading…
Reference in New Issue