Commented out redundant hot key set window activation. itemActivated and itemDoubleClicked signals are not both needed. A double click will also trigger itemActivated signal.
This commit is contained in:
parent
e79f0159df
commit
da36b4afd8
|
@ -90,7 +90,7 @@ HotKeyConfDialog_t::HotKeyConfDialog_t(QWidget *parent)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
connect( tree, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)), this, SLOT(hotKeyDoubleClicked(QTreeWidgetItem*,int) ) );
|
//connect( tree, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)), this, SLOT(hotKeyDoubleClicked(QTreeWidgetItem*,int) ) );
|
||||||
connect( tree, SIGNAL(itemActivated(QTreeWidgetItem*,int)), this, SLOT(hotKeyActivated(QTreeWidgetItem*,int) ) );
|
connect( tree, SIGNAL(itemActivated(QTreeWidgetItem*,int)), this, SLOT(hotKeyActivated(QTreeWidgetItem*,int) ) );
|
||||||
|
|
||||||
mainLayout->addWidget(tree);
|
mainLayout->addWidget(tree);
|
||||||
|
|
Loading…
Reference in New Issue