mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Missed a const marking
This commit is contained in:
parent
abf7e4ac09
commit
9e9f593877
@ -438,6 +438,6 @@ set_menu_on_action(QAction* ac, QMenu* menu) {
|
||||
}
|
||||
|
||||
QMenu*
|
||||
menu_for_action(QAction *ac) {
|
||||
menu_for_action(const QAction *ac) {
|
||||
return ac->menu<QMenu*>();
|
||||
}
|
||||
|
@ -142,4 +142,4 @@ int load_style(const QHash<unsigned long,QString> &icon_map, int transient_scrol
|
||||
void set_no_activate_on_click(QWidget *widget);
|
||||
void draw_snake_spinner(QPainter &painter, QRect rect, int angle, const QColor & light, const QColor & dark);
|
||||
void set_menu_on_action(QAction* ac, QMenu* menu);
|
||||
QMenu* menu_for_action(QAction *ac);
|
||||
QMenu* menu_for_action(const QAction *ac);
|
||||
|
@ -87,4 +87,4 @@ int load_style(SIP_PYDICT icon_map_, int transient_scroller);
|
||||
void set_no_activate_on_click(QWidget *widget);
|
||||
void draw_snake_spinner(QPainter &painter, QRect rect, int angle, const QColor & light, const QColor & dark) /ReleaseGIL/;
|
||||
void set_menu_on_action(QAction* ac, QMenu* menu);
|
||||
QMenu* menu_for_action(QAction *ac);
|
||||
QMenu* menu_for_action(const QAction *ac);
|
||||
|
Loading…
x
Reference in New Issue
Block a user