Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 798605b5 authored by Frederik Gladhorn's avatar Frederik Gladhorn

Remove trivial destructors

parent 2581892e
......@@ -54,11 +54,6 @@ QMLOutput::QMLOutput(QQuickItem *parent):
this, static_cast<void(QMLOutput::*)()>(&QMLOutput::moved));
}
QMLOutput::~QMLOutput()
{
}
KScreen::Output* QMLOutput::output() const
{
return m_output.data();
......
......@@ -110,8 +110,7 @@ class QMLOutput : public QQuickItem
RefreshRateRole
};
explicit QMLOutput(QQuickItem *parent = 0);
virtual ~QMLOutput();
explicit QMLOutput(QQuickItem *parent = nullptr);
KScreen::Output* output() const; // For QML
......
......@@ -41,10 +41,6 @@ QMLScreen::QMLScreen(QQuickItem *parent):
connect(this, &QMLScreen::heightChanged, this, &QMLScreen::viewSizeChanged);
}
QMLScreen::~QMLScreen()
{
}
KScreen::ConfigPtr QMLScreen::config() const
{
return m_config;
......
......@@ -57,8 +57,6 @@ class QMLScreen : public QQuickItem
public:
explicit QMLScreen(QQuickItem *parent = nullptr);
virtual ~QMLScreen();
int connectedOutputsCount() const;
int enabledOutputsCount() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment