mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29810 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
db0d8a1131
commit
079ef62651
@ -208,16 +208,16 @@ void GuiCommandBuffer::showList(vector<string> const & list,
|
||||
listBox->move(pos.x(), y);
|
||||
|
||||
connect(listBox, SIGNAL(itemClicked(QListWidgetItem *)),
|
||||
this, SLOT(item_selected(QListWidgetItem *)));
|
||||
this, SLOT(itemSelected(QListWidgetItem *)));
|
||||
connect(listBox, SIGNAL(itemActivated(QListWidgetItem *)),
|
||||
this, SLOT(item_selected(QListWidgetItem *)));
|
||||
this, SLOT(itemSelected(QListWidgetItem *)));
|
||||
|
||||
listBox->show();
|
||||
listBox->setFocus();
|
||||
}
|
||||
|
||||
|
||||
void GuiCommandBuffer::item_selected(QListWidgetItem * item)
|
||||
void GuiCommandBuffer::itemSelected(QListWidgetItem * item)
|
||||
{
|
||||
QWidget const * widget = static_cast<QWidget const *>(sender());
|
||||
const_cast<QWidget *>(widget)->hide();
|
||||
|
@ -46,7 +46,7 @@ public Q_SLOTS:
|
||||
/// show history
|
||||
void listHistoryUp();
|
||||
/// called when an item in a list is selected
|
||||
void item_selected(QListWidgetItem *);
|
||||
void itemSelected(QListWidgetItem *);
|
||||
/// up
|
||||
void up();
|
||||
/// down
|
||||
|
Loading…
Reference in New Issue
Block a user