style(core): fix constructor initializer list style

This commit is contained in:
Oleg Shparber 2019-09-30 23:23:05 -04:00
parent 6b92ce4ab7
commit 420be8c773
3 changed files with 6 additions and 6 deletions

View File

@ -52,8 +52,8 @@ const char ReleasesApiUrl[] = "https://api.zealdocs.org/v1/releases";
Application *Application::m_instance = nullptr;
Application::Application(QObject *parent) :
QObject(parent)
Application::Application(QObject *parent)
: QObject(parent)
{
// Ensure only one instance of Application
Q_ASSERT(!m_instance);

View File

@ -31,8 +31,8 @@
using namespace Zeal::Core;
Extractor::Extractor(QObject *parent) :
QObject(parent)
Extractor::Extractor(QObject *parent)
: QObject(parent)
{
}

View File

@ -47,8 +47,8 @@ const char GroupProxy[] = "proxy";
using namespace Zeal::Core;
Settings::Settings(QObject *parent) :
QObject(parent)
Settings::Settings(QObject *parent)
: QObject(parent)
{
qRegisterMetaTypeStreamOperators<ExternalLinkPolicy>("ExternalLinkPolicy");