mirror of
https://github.com/zealdocs/zeal.git
synced 2024-11-26 15:43:49 +03:00
style(core): fix constructor initializer list style
This commit is contained in:
parent
6b92ce4ab7
commit
420be8c773
@ -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);
|
||||
|
@ -31,8 +31,8 @@
|
||||
|
||||
using namespace Zeal::Core;
|
||||
|
||||
Extractor::Extractor(QObject *parent) :
|
||||
QObject(parent)
|
||||
Extractor::Extractor(QObject *parent)
|
||||
: QObject(parent)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user