Gui: fix some important linting warnings:
* cppcoreguidelines-explicit-virtual-functions * google-explicit-constructor
This commit is contained in:
@@ -1855,7 +1855,7 @@ bool OverlayManager::eventFilter(QObject *o, QEvent *ev)
|
||||
namespace {
|
||||
class MouseGrabberGuard {
|
||||
public:
|
||||
MouseGrabberGuard(QWidget *grabber)
|
||||
explicit MouseGrabberGuard(QWidget *grabber)
|
||||
{
|
||||
if (grabber && grabber == QWidget::mouseGrabber()) {
|
||||
_grabber = grabber;
|
||||
|
||||
Reference in New Issue
Block a user