D18560: Fix reorder warning in AbstractScript

Martin Flöser <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
graesslin created this revision.
graesslin added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
graesslin requested review of this revision.

REVISION 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)
   ^~~~

REPOSITORY
  R108 KWin

BRANCH
  scripting-reorder-warning

REVISION DETAIL
  https://phabricator.kde.org/D18560

AFFECTED FILES
  scripting/scripting.cpp

To: graesslin, #kwin
Cc: kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.