Gui: fix some important linting warnings:

* cppcoreguidelines-explicit-virtual-functions
* google-explicit-constructor
This commit is contained in:
wmayer
2023-10-12 10:53:41 +02:00
committed by wwmayer
parent 3ba5cd569d
commit 91aa75fb18
7 changed files with 54 additions and 55 deletions

View File

@@ -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;