diff options
Diffstat (limited to 'app/main.cpp')
-rw-r--r-- | app/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/main.cpp b/app/main.cpp index e2eaf7c..09e501f 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -70,6 +70,7 @@ int main(int argc, char *argv[]) Telephony *telephony = new Telephony(bindingAddress); context->setContextProperty("telephony", telephony); Phone *phone = new Phone(telephony); + context->setContextProperty("phone", phone); QObject::connect(telephony, &Telephony::callStateChanged, phone, &Phone::onCallStateChanged); } |