mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-28 18:58:48 -05:00
DeviceGUI::closeEvent - Don't automatically delete the GUI, as MainWindow::RemoveDeviceSetFSM::removeUI will do it
This commit is contained in:
parent
3df1ce20ae
commit
5ac2081195
@ -283,7 +283,7 @@ void DeviceGUI::closeEvent(QCloseEvent *event)
|
|||||||
{
|
{
|
||||||
qDebug("DeviceGUI::closeEvent");
|
qDebug("DeviceGUI::closeEvent");
|
||||||
emit closing();
|
emit closing();
|
||||||
event->accept();
|
event->ignore(); // Don't automatically delete this object - MainWindow::RemoveDeviceSetFSM::removeUI will do it
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeviceGUI::mousePressEvent(QMouseEvent* event)
|
void DeviceGUI::mousePressEvent(QMouseEvent* event)
|
||||||
|
Loading…
Reference in New Issue
Block a user