summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/main.cpp')
-rw-r--r--app/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.cpp b/app/main.cpp
index e60cbe3..b1f1668 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -66,8 +66,8 @@ int main(int argc, char *argv[])
context->setContextProperty("telephony", telephony);
Phone *phone = new Phone(telephony);
context->setContextProperty("phone", phone);
- context->setContextProperty("pbap", new Pbap(bindingAddress));
QObject::connect(telephony, &Telephony::callStateChanged, phone, &Phone::onCallStateChanged);
+ context->setContextProperty("pbap", new Pbap(bindingAddress, context));
std::string token = secret.toStdString();
LibHomeScreen* hs = new LibHomeScreen();
QLibWindowmanager* qwm = new QLibWindowmanager();