Skip to content

Dialog: Fix -Wreorder

ivan tkachenko requested to merge work/ratijas/wreorder into master
/home/ratijas/kde/src6/plasma-framework/src/plasmaquick/dialog.cpp: In constructor ‘PlasmaQuick::DialogPrivate::DialogPrivate(PlasmaQuick::Dialog*)’:
/home/ratijas/kde/src6/plasma-framework/src/plasmaquick/dialog.cpp:152:9: warning: ‘PlasmaQuick::DialogPrivate::floating’ will be initialized after [-Wreorder]
  152 |     int floating;
      |         ^~~~~~~~
/home/ratijas/kde/src6/plasma-framework/src/plasmaquick/dialog.cpp:151:15: warning:   ‘Qt::Edges PlasmaQuick::DialogPrivate::resizableEdges’ [-Wreorder]
  151 |     Qt::Edges resizableEdges;
      |               ^~~~~~~~~~~~~~
/home/ratijas/kde/src6/plasma-framework/src/plasmaquick/dialog.cpp:55:5: warning:   when initialized here [-Wreorder]
   55 |     DialogPrivate(Dialog *dialog)
      |     ^~~~~~~~~~~~~

Merge request reports

Loading