savegame ex.: fix include order [2/2]: game.h
Includes should be ordered from most specific to most general. This means that project-specific includes always come before Qt includes. This example didn't follow that guideline. Fix. Amends 88e8094f18e6581f2b652eb3d82f514ecf687046. Task-number: QTBUG-108857 Change-Id: Iafdae9dd8e70ff99882c4344a023a21d15fa3c54 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> (cherry picked from commit ac6e8b3b21c2ae25e7a4fe483b604ea6ddecd3ff) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
fdb0112b86
commit
a28eca8eff
@ -4,12 +4,12 @@
|
|||||||
#ifndef GAME_H
|
#ifndef GAME_H
|
||||||
#define GAME_H
|
#define GAME_H
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QList>
|
|
||||||
|
|
||||||
#include "character.h"
|
#include "character.h"
|
||||||
#include "level.h"
|
#include "level.h"
|
||||||
|
|
||||||
|
#include <QJsonObject>
|
||||||
|
#include <QList>
|
||||||
|
|
||||||
//! [0]
|
//! [0]
|
||||||
class Game
|
class Game
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user