mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
TOC context menu (part 3)
* TocWidget: Deconstify cur in doDispatch because I need a non-const Cursor when dispatching to Insets. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29162 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f227016f3d
commit
49fb2980eb
@ -95,7 +95,7 @@ void TocWidget::showContextMenu(const QPoint & pos)
|
||||
}
|
||||
|
||||
|
||||
void TocWidget::doDispatch(Cursor const & cur, FuncRequest const & cmd)
|
||||
void TocWidget::doDispatch(Cursor & cur, FuncRequest const & cmd)
|
||||
{
|
||||
switch(cmd.action) {
|
||||
|
||||
|
@ -37,7 +37,7 @@ public:
|
||||
/// Initialise GUI.
|
||||
void init(QString const & str);
|
||||
|
||||
void doDispatch(Cursor const & cur, FuncRequest const & fr);
|
||||
void doDispatch(Cursor & cur, FuncRequest const & fr);
|
||||
|
||||
public Q_SLOTS:
|
||||
/// Update the display of the dialog whilst it is still visible.
|
||||
|
Loading…
Reference in New Issue
Block a user