Fix a crash by clearing our reference to the menuwidget when it is deleted
[dhcpcd-ui] / src / dhcpcd-qt / dhcpcd-ssidmenu.h
index 108409ca224910f097bf77e0286be7bffa9f5a69..a359c50459f9b6098007f16a12f12c4099c17ed2 100644 (file)
@@ -43,6 +43,7 @@ public:
        ~DhcpcdSsidMenu() {};
 
        QWidget *createWidget(QWidget *parent);
+       void deleteWidget(QWidget *widget);
        DHCPCD_WI_SCAN *getScan();
        void setScan(DHCPCD_WI_SCAN *scan);
        bool isAssociated();