[libcamera-devel] [PATCH v2 1/3] qcam: viewfinder_qt: Fix include orders
Kieran Bingham
kieran.bingham at ideasonboard.com
Wed Jul 6 11:06:40 CEST 2022
Update the header orders to match the code style as decreed by
clang-format.
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
src/qcam/viewfinder_qt.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/qcam/viewfinder_qt.cpp b/src/qcam/viewfinder_qt.cpp
index 6844f998bbe0..27955e3f9593 100644
--- a/src/qcam/viewfinder_qt.cpp
+++ b/src/qcam/viewfinder_qt.cpp
@@ -11,6 +11,8 @@
#include <stdint.h>
#include <utility>
+#include <libcamera/formats.h>
+
#include <QImage>
#include <QImageWriter>
#include <QMap>
@@ -18,9 +20,8 @@
#include <QPainter>
#include <QtDebug>
-#include <libcamera/formats.h>
-
#include "../cam/image.h"
+
#include "format_converter.h"
static const QMap<libcamera::PixelFormat, QImage::Format> nativeFormats
--
2.34.1
More information about the libcamera-devel
mailing list