diff --git a/src/callmodel.cpp b/src/callmodel.cpp index 964904fbc31340366bd14715fc5fd7fe1a6a9edd..166a94b738216d9899a2fe41efe01c4b8f83b7e7 100644 --- a/src/callmodel.cpp +++ b/src/callmodel.cpp @@ -166,9 +166,10 @@ void CallModelPrivate::init() CallManagerInterface& callManager = CallManager::instance(); #ifdef ENABLE_VIDEO VideoManager::instance(); -#endif */ +#endif - connect(&CategorizedHistoryModel::instance(),SIGNAL(newHistoryCall(Call*)),this,SLOT(slotAddPrivateCall(Call*))); + connect(&callManager, SIGNAL(callStateChanged(QString, QString, int)), this, SLOT(slotCallStateChanged(QString, QString, int)), Qt::QueuedConnection); + connect(&callManager, SIGNAL(recordingStateChanged(QString, bool)), this, SLOT(slotRecordStateChanged(QString, bool)), Qt::QueuedConnection); registerCommTypes();