Commit 01297182 authored by Frederik Gladhorn's avatar Frederik Gladhorn

Be consistent about initializers

parent 3716d792
......@@ -52,11 +52,8 @@
#define QML_PATH "kcm_kscreen/qml/"
Widget::Widget(QWidget *parent):
QWidget(parent),
mScreen(nullptr),
mConfig(nullptr),
mPrevConfig(nullptr)
Widget::Widget(QWidget *parent)
: QWidget(parent)
{
qRegisterMetaType<QQuickView*>();
......
......@@ -83,8 +83,8 @@ class Widget : public QWidget
private:
QMLScreen *mScreen = nullptr;
KScreen::ConfigPtr mConfig;
KScreen::ConfigPtr mPrevConfig;
KScreen::ConfigPtr mConfig = nullptr;
KScreen::ConfigPtr mPrevConfig = nullptr;
QQuickWidget *mDeclarativeView = nullptr;
ControlPanel *mControlPanel = nullptr;
......
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