Fix some coding style issues in FilteredDisplay

This commit is contained in:
Vlad Zahorodnii 2021-04-05 11:25:27 +03:00
parent ba4f796e24
commit f119c9470d
2 changed files with 22 additions and 22 deletions

View file

@ -29,14 +29,14 @@ public:
};
};
FilteredDisplay::Private::Private(FilteredDisplay *_q):
q(_q)
{}
FilteredDisplay::Private::Private(FilteredDisplay *_q)
: q(_q)
{
}
FilteredDisplay::FilteredDisplay(QObject *parent):
Display(parent),
d(new Private(this))
FilteredDisplay::FilteredDisplay(QObject *parent)
: Display(parent)
, d(new Private(this))
{
connect(this, &Display::runningChanged, [this](bool running) {
if (!running) {

View file

@ -23,7 +23,7 @@ class KWAYLANDSERVER_EXPORT FilteredDisplay : public Display
Q_OBJECT
public:
FilteredDisplay(QObject *parent);
~FilteredDisplay();
~FilteredDisplay() override;
/**
* Return whether the @arg client can see the interface with the given @arg interfaceName