|
|
@ -34,7 +34,7 @@ namespace CSMPrefs
|
|
|
|
widget->installEventFilter(this);
|
|
|
|
widget->installEventFilter(this);
|
|
|
|
|
|
|
|
|
|
|
|
// right clicking on button sets shortcut to RMB, so context menu should not appear
|
|
|
|
// right clicking on button sets shortcut to RMB, so context menu should not appear
|
|
|
|
widget->setContextMenuPolicy(Qt::ContextMenuPolicy::PreventContextMenu);
|
|
|
|
widget->setContextMenuPolicy(Qt::PreventContextMenu);
|
|
|
|
|
|
|
|
|
|
|
|
mButton = widget;
|
|
|
|
mButton = widget;
|
|
|
|
|
|
|
|
|
|
|
|