mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2025-12-17 15:55:23 +08:00
qml interop: start replacing QMetaObject::invokeMethod with signals
It seems concurrent calls to invokeMethod using qml component object pointers can lead to access violations. These method invocations can be replaced with a signal/slot mechanism. This patch replaces only the invocations in conversationsadapter and accountsadapter that are known to be problematic for now. Some code cleanup is done for QmlAdapterBase derived classes. Gitlab: #61 Change-Id: I72f47c9229a9bf42299ae52822c3a1a8c04eb423
This commit is contained in:
@@ -174,7 +174,6 @@ SOURCES += ./src/bannedlistmodel.cpp \
|
||||
./src/conversationsadapter.cpp \
|
||||
./src/distantrenderer.cpp \
|
||||
./src/previewrenderer.cpp \
|
||||
./src/qmladapterbase.cpp \
|
||||
./src/avadapter.cpp \
|
||||
./src/contactadapter.cpp \
|
||||
./src/mediahandleradapter.cpp \
|
||||
|
||||
Reference in New Issue
Block a user