Commit e5da887c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Modernize code

parent 14dba0f2
Pipeline #33666 passed with stage
in 17 minutes and 15 seconds
......@@ -37,7 +37,7 @@ protected:
private:
void saveSize();
KontactInterface::Core *mCore = nullptr;
KontactInterface::Core *const mCore;
};
}
......
......@@ -43,7 +43,6 @@ public:
KontactApp(int &argc, char **argv[])
: KontactInterface::PimUniqueApplication(argc, argv)
, mMainWindow(nullptr)
, mSessionRestored(false)
{
KLocalizedString::setApplicationDomain("kontact");
}
......@@ -67,7 +66,7 @@ public:
private:
QPointer<MainWindow> mMainWindow;
bool mSessionRestored;
bool mSessionRestored = false;
};
static void listPlugins()
......
......@@ -41,7 +41,7 @@ protected:
KontactInterface::Core *core() const;
private:
KontactInterface::Core *mCore = nullptr;
KontactInterface::Core *const mCore;
};
}
......
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