Commit 8a3095a8 authored by Nicolas Jager's avatar Nicolas Jager Committed by Guillaume Roguez

ringmainwindow: remove unused Qt connectors

Remove following unconnected signals:
* selected_item_changed
* selected_call_over

Change-Id: I793dec7454d94b88634835cb44befb01e14fbda0
Signed-off-by: Guillaume Roguez's avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
parent c2095923
......@@ -156,8 +156,6 @@ public:
bool show_settings = false;
bool is_fullscreen = false;
QMetaObject::Connection selected_item_changed;
QMetaObject::Connection selected_call_over;
QMetaObject::Connection showChatViewConnection_;
QMetaObject::Connection showCallViewConnection_;
QMetaObject::Connection showIncomingViewConnection_;
......@@ -731,8 +729,6 @@ CppImpl::init()
CppImpl::~CppImpl()
{
QObject::disconnect(selected_item_changed);
QObject::disconnect(selected_call_over);
QObject::disconnect(showChatViewConnection_);
QObject::disconnect(showIncomingViewConnection_);
QObject::disconnect(historyClearedConnection_);
......@@ -758,9 +754,6 @@ CppImpl::changeView(GType type, lrc::api::conversation::Info conversation)
gtk_container_remove(GTK_CONTAINER(widgets->frame_call),
gtk_bin_get_child(GTK_BIN(widgets->frame_call)));
QObject::disconnect(selected_item_changed);
QObject::disconnect(selected_call_over);
GtkWidget* new_view;
if (g_type_is_a(INCOMING_CALL_VIEW_TYPE, type)) {
new_view = displayIncomingView(conversation);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment