From 39414a01ae5919f85e19a5087f0c521236c2dd28 Mon Sep 17 00:00:00 2001
From: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
Date: Wed, 2 Jan 2019 15:27:29 -0500
Subject: [PATCH] videocall: remove configuration button from overlay

Change-Id: Ia0a0e71bf48a2015773a97857e6db40254f7feba
---
 videooverlay.cpp |  9 ---------
 videooverlay.ui  | 20 --------------------
 2 files changed, 29 deletions(-)

diff --git a/videooverlay.cpp b/videooverlay.cpp
index 1a133b3..8ba4919 100644
--- a/videooverlay.cpp
+++ b/videooverlay.cpp
@@ -117,15 +117,6 @@ VideoOverlay::setTime()
     } catch (...) { }
 }
 
-void VideoOverlay::toggleContextButtons(bool visible)
-{
-    if (! visible) {
-        ui->videoCfgBtn->hide();
-    } else {
-        ui->videoCfgBtn->show();
-    }
-}
-
 void
 VideoOverlay::setVideoMuteVisibility(bool visible)
 {
diff --git a/videooverlay.ui b/videooverlay.ui
index 19b7adc..11c9d7e 100644
--- a/videooverlay.ui
+++ b/videooverlay.ui
@@ -384,26 +384,6 @@
         </property>
        </widget>
       </item>
-      <item>
-       <widget class="QPushButton" name="videoCfgBtn">
-        <property name="minimumSize">
-         <size>
-          <width>30</width>
-          <height>30</height>
-         </size>
-        </property>
-        <property name="toolTip">
-         <string>Configuration</string>
-        </property>
-        <property name="text">
-         <string/>
-        </property>
-        <property name="icon">
-         <iconset resource="ressources.qrc">
-          <normaloff>:/images/icons/ic_settings_white_48dp_2x.png</normaloff>:/images/icons/ic_settings_white_48dp_2x.png</iconset>
-        </property>
-       </widget>
-      </item>
      </layout>
     </widget>
    </item>
-- 
GitLab