Diffusion KWin cfecb1e0770c

Fix reorder warning in AbstractScript

Authored by graesslin on Jan 27 2019, 7:54 AM.

Description

Fix reorder warning in AbstractScript

Summary:
scripting/scripting.h:205:13: warning: ‘KWin::AbstractScript::m_pluginName’ will be initialized after [-Wreorder]

QString m_pluginName;
        ^~~~~~~~~~~~

scripting/scripting.h:204:13: warning: ‘QString KWin::AbstractScript::m_fileName’ [-Wreorder]

QString m_fileName;
        ^~~~~~~~~~

scripting/scripting.cpp:230:1: warning: when initialized here [-Wreorder]
KWin::AbstractScript::AbstractScript(int id, QString scriptName, QString pluginName, QObject *parent)
^~~~

Reviewers: KWin

Subscribers: kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D18560

Details

Committed
graesslinJan 27 2019, 12:25 PM
Differential Revision
D18560: Fix reorder warning in AbstractScript
Parents
R108:2608026b8835: Silence warnings in TabBoxHandler
Branches
Unknown
Tags
Unknown