mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-21 15:51:47 -05:00
Adds comment
This commit is contained in:
parent
5ac2081195
commit
a04f84fcc3
@ -44,7 +44,8 @@ DeviceGUI::DeviceGUI(QWidget *parent) :
|
||||
m_contextMenuType(ContextMenuNone),
|
||||
m_resizer(this),
|
||||
m_drag(false),
|
||||
m_currentDeviceIndex(-1)
|
||||
m_currentDeviceIndex(-1),
|
||||
m_channelAddDialog(this)
|
||||
{
|
||||
qDebug("DeviceGUI::DeviceGUI: %p", parent);
|
||||
setWindowFlags(windowFlags() | Qt::FramelessWindowHint);
|
||||
@ -283,7 +284,7 @@ void DeviceGUI::closeEvent(QCloseEvent *event)
|
||||
{
|
||||
qDebug("DeviceGUI::closeEvent");
|
||||
emit closing();
|
||||
event->ignore(); // Don't automatically delete this object - MainWindow::RemoveDeviceSetFSM::removeUI will do it
|
||||
event->ignore(); // Don't automatically delete the GUI - MainWindow::RemoveDeviceSetFSM::removeUI will do it
|
||||
}
|
||||
|
||||
void DeviceGUI::mousePressEvent(QMouseEvent* event)
|
||||
@ -380,7 +381,8 @@ void DeviceGUI::openMoveToWorkspaceDialog()
|
||||
|
||||
void DeviceGUI::openAddChannelsDialog()
|
||||
{
|
||||
m_channelAddDialog.exec();
|
||||
//m_channelAddDialog.exec();
|
||||
m_channelAddDialog.open();
|
||||
}
|
||||
|
||||
void DeviceGUI::showSpectrumHandler()
|
||||
|
Loading…
Reference in New Issue
Block a user